#[non_exhaustive]pub struct IdleDoneCodec;Expand description
Codec for idle dones.
Implementations§
Source§impl IdleDoneCodec
impl IdleDoneCodec
Trait Implementations§
Source§impl Clone for IdleDoneCodec
impl Clone for IdleDoneCodec
Source§fn clone(&self) -> IdleDoneCodec
fn clone(&self) -> IdleDoneCodec
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 IdleDoneCodec
impl Debug for IdleDoneCodec
Source§impl Decoder for IdleDoneCodec
impl Decoder for IdleDoneCodec
type Message<'a> = IdleDone
type Error<'a> = IdleDoneDecodeError
fn decode<'a>( &self, input: &'a [u8], ) -> Result<(&'a [u8], Self::Message<'a>), Self::Error<'static>>
fn decode_static<'a>(
&self,
input: &'a [u8],
) -> Result<(&'a [u8], Self::Message<'static>), Self::Error<'static>>where
Self::Message<'a>: IntoStatic<Static = Self::Message<'static>>,
Self::Error<'a>: IntoStatic<Static = Self::Error<'static>>,
Source§impl Default for IdleDoneCodec
impl Default for IdleDoneCodec
Source§fn default() -> IdleDoneCodec
fn default() -> IdleDoneCodec
Returns the “default value” for a type. Read more
Source§impl Encoder for IdleDoneCodec
impl Encoder for IdleDoneCodec
Source§impl PartialEq for IdleDoneCodec
impl PartialEq for IdleDoneCodec
impl StructuralPartialEq for IdleDoneCodec
Auto Trait Implementations§
impl Freeze for IdleDoneCodec
impl RefUnwindSafe for IdleDoneCodec
impl Send for IdleDoneCodec
impl Sync for IdleDoneCodec
impl Unpin for IdleDoneCodec
impl UnsafeUnpin for IdleDoneCodec
impl UnwindSafe for IdleDoneCodec
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