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