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