pub struct LengthCodec {
max_size: usize,
}Fields§
§max_size: usizeImplementations§
Trait Implementations§
Source§impl Clone for LengthCodec
impl Clone for LengthCodec
Source§fn clone(&self) -> LengthCodec
fn clone(&self) -> LengthCodec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LengthCodec
impl RefUnwindSafe for LengthCodec
impl Send for LengthCodec
impl Sync for LengthCodec
impl Unpin for LengthCodec
impl UnsafeUnpin for LengthCodec
impl UnwindSafe for LengthCodec
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