pub struct FireCodec { /* private fields */ }Expand description
Codec for encoding and decoding fire frames
Trait Implementations§
Source§impl Decoder for FireCodec
impl Decoder for FireCodec
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
Auto Trait Implementations§
impl Freeze for FireCodec
impl RefUnwindSafe for FireCodec
impl Send for FireCodec
impl Sync for FireCodec
impl Unpin for FireCodec
impl UnwindSafe for FireCodec
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