pub struct Codec<In, Out = In> { /* private fields */ }
Expand description
Implementations§
Trait Implementations§
Source§impl<In, Out: Message + Default> Decoder for Codec<In, Out>
impl<In, Out: Message + Default> Decoder for Codec<In, Out>
Auto Trait Implementations§
impl<In, Out> Freeze for Codec<In, Out>
impl<In, Out> RefUnwindSafe for Codec<In, Out>where
In: RefUnwindSafe,
Out: RefUnwindSafe,
impl<In, Out> Send for Codec<In, Out>
impl<In, Out> Sync for Codec<In, Out>
impl<In, Out> Unpin for Codec<In, Out>
impl<In, Out> UnwindSafe for Codec<In, Out>where
In: UnwindSafe,
Out: UnwindSafe,
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