pub struct U16Codec;
Trait Implementations§
Source§impl Decoder for U16Codec
impl Decoder for U16Codec
Source§fn decode(
&mut self,
src: &mut BytesMut,
) -> Result<Option<Self::Item>, Self::Error>
fn decode( &mut self, src: &mut BytesMut, ) -> Result<Option<Self::Item>, Self::Error>
Attempts to decode a frame from the provided buffer of bytes. Read more
impl Copy for U16Codec
impl Eq for U16Codec
impl StructuralPartialEq for U16Codec
Auto Trait Implementations§
impl Freeze for U16Codec
impl RefUnwindSafe for U16Codec
impl Send for U16Codec
impl Sync for U16Codec
impl Unpin for U16Codec
impl UnwindSafe for U16Codec
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