pub struct MaxBytes(/* private fields */);Implementations§
Trait Implementations§
impl Copy for MaxBytes
Source§impl<'de> Deserialize<'de> for MaxBytes
impl<'de> Deserialize<'de> for MaxBytes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MaxBytes
Source§impl Ord for MaxBytes
impl Ord for MaxBytes
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for MaxBytes
impl PartialOrd for MaxBytes
impl StructuralPartialEq for MaxBytes
Auto Trait Implementations§
impl Freeze for MaxBytes
impl RefUnwindSafe for MaxBytes
impl Send for MaxBytes
impl Sync for MaxBytes
impl Unpin for MaxBytes
impl UnsafeUnpin for MaxBytes
impl UnwindSafe for MaxBytes
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