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