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