pub struct PrefixedBytesEncoder<'sl>(/* private fields */);Expand description
An encoder for a single byte slice, including a compact size length prefix.
Implementations§
Trait Implementations§
Source§impl<'sl> Clone for PrefixedBytesEncoder<'sl>
impl<'sl> Clone for PrefixedBytesEncoder<'sl>
Source§fn clone(&self) -> PrefixedBytesEncoder<'sl>
fn clone(&self) -> PrefixedBytesEncoder<'sl>
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 moreSource§impl<'sl> Debug for PrefixedBytesEncoder<'sl>
impl<'sl> Debug for PrefixedBytesEncoder<'sl>
Source§impl Encoder for PrefixedBytesEncoder<'_>
impl Encoder for PrefixedBytesEncoder<'_>
Auto Trait Implementations§
impl<'sl> Freeze for PrefixedBytesEncoder<'sl>
impl<'sl> RefUnwindSafe for PrefixedBytesEncoder<'sl>
impl<'sl> Send for PrefixedBytesEncoder<'sl>
impl<'sl> Sync for PrefixedBytesEncoder<'sl>
impl<'sl> Unpin for PrefixedBytesEncoder<'sl>
impl<'sl> UnsafeUnpin for PrefixedBytesEncoder<'sl>
impl<'sl> UnwindSafe for PrefixedBytesEncoder<'sl>
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