pub struct FrontCodec {}Trait Implementations
sourceimpl Decoder for FrontCodec
impl Decoder for FrontCodec
sourcefn 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
sourceimpl Default for FrontCodec
impl Default for FrontCodec
sourcefn default() -> FrontCodec
fn default() -> FrontCodec
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for FrontCodec
impl Send for FrontCodec
impl Sync for FrontCodec
impl Unpin for FrontCodec
impl UnwindSafe for FrontCodec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more