pub struct Exhaustive;Expand description
Encode every candidate that applies and keep the smallest.
The reference, and what encode has always done. It is the thing to beat rather than the thing
to ship: every size this crate has ever reported came out of it, so an alternative’s ablation is
against this and a build that wants the old bytes exactly asks for this.
Trait Implementations§
Source§impl Chooser for Exhaustive
impl Chooser for Exhaustive
Source§impl Clone for Exhaustive
impl Clone for Exhaustive
Source§fn clone(&self) -> Exhaustive
fn clone(&self) -> Exhaustive
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Exhaustive
Source§impl Debug for Exhaustive
impl Debug for Exhaustive
Source§impl Default for Exhaustive
impl Default for Exhaustive
Source§fn default() -> Exhaustive
fn default() -> Exhaustive
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Exhaustive
impl RefUnwindSafe for Exhaustive
impl Send for Exhaustive
impl Sync for Exhaustive
impl Unpin for Exhaustive
impl UnsafeUnpin for Exhaustive
impl UnwindSafe for Exhaustive
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more