Struct async_codec_lite::LengthCodec
source · [−]pub struct LengthCodec<L>(_);
Implementations
sourceimpl<L> LengthCodec<L>
impl<L> LengthCodec<L>
Trait Implementations
sourceimpl<L> Clone for LengthCodec<L>
impl<L> Clone for LengthCodec<L>
sourceimpl<L> Debug for LengthCodec<L>
impl<L> Debug for LengthCodec<L>
sourceimpl<L: Length> Decoder for LengthCodec<L>
impl<L: Length> Decoder for LengthCodec<L>
sourceimpl<L> Default for LengthCodec<L>
impl<L> Default for LengthCodec<L>
sourceimpl<L: Length> Encoder for LengthCodec<L>
impl<L: Length> Encoder for LengthCodec<L>
Auto Trait Implementations
impl<L> RefUnwindSafe for LengthCodec<L> where
L: RefUnwindSafe,
impl<L> Send for LengthCodec<L> where
L: Send,
impl<L> Sync for LengthCodec<L> where
L: Sync,
impl<L> Unpin for LengthCodec<L> where
L: Unpin,
impl<L> UnwindSafe for LengthCodec<L> where
L: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more