pub struct KeyValueCodec(/* private fields */);Trait Implementations§
Source§impl Clone for KeyValueCodec
impl Clone for KeyValueCodec
Source§fn clone(&self) -> KeyValueCodec
fn clone(&self) -> KeyValueCodec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeyValueCodec
impl Debug for KeyValueCodec
Source§impl Decoder for KeyValueCodec
impl Decoder for KeyValueCodec
Source§type Item = ResponsePacket
type Item = ResponsePacket
The type of decoded frames.
Source§fn decode(
&mut self,
buf: &mut BytesMut,
) -> Result<Option<Self::Item>, Self::Error>
fn decode( &mut self, buf: &mut BytesMut, ) -> Result<Option<Self::Item>, Self::Error>
Attempts to decode a frame from the provided buffer of bytes. Read more
Source§impl Default for KeyValueCodec
impl Default for KeyValueCodec
Source§fn default() -> KeyValueCodec
fn default() -> KeyValueCodec
Returns the “default value” for a type. Read more
Source§impl Encoder<RequestPacket<'_>> for KeyValueCodec
impl Encoder<RequestPacket<'_>> for KeyValueCodec
Source§impl Hash for KeyValueCodec
impl Hash for KeyValueCodec
Source§impl Ord for KeyValueCodec
impl Ord for KeyValueCodec
Source§fn cmp(&self, other: &KeyValueCodec) -> Ordering
fn cmp(&self, other: &KeyValueCodec) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for KeyValueCodec
impl PartialEq for KeyValueCodec
Source§impl PartialOrd for KeyValueCodec
impl PartialOrd for KeyValueCodec
impl Copy for KeyValueCodec
impl Eq for KeyValueCodec
impl StructuralPartialEq for KeyValueCodec
Auto Trait Implementations§
impl Freeze for KeyValueCodec
impl RefUnwindSafe for KeyValueCodec
impl Send for KeyValueCodec
impl Sync for KeyValueCodec
impl Unpin for KeyValueCodec
impl UnwindSafe for KeyValueCodec
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