Struct imap_codec::IdleDoneCodec
source · #[non_exhaustive]pub struct IdleDoneCodec;
Expand description
Codec for idle dones.
Implementations§
source§impl IdleDoneCodec
impl IdleDoneCodec
Trait Implementations§
source§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>>
source§fn decode_static<'a>(
&self,
input: &'a [u8]
) -> Result<(&'a [u8], Self::Message<'static>), Self::Error<'static>>where
Self::Message<'a>: IntoBoundedStatic<Static = Self::Message<'static>>,
Self::Error<'a>: IntoBoundedStatic<Static = Self::Error<'static>>,
fn decode_static<'a>( &self, input: &'a [u8] ) -> Result<(&'a [u8], Self::Message<'static>), Self::Error<'static>>where Self::Message<'a>: IntoBoundedStatic<Static = Self::Message<'static>>, Self::Error<'a>: IntoBoundedStatic<Static = Self::Error<'static>>,
Available on crate feature
bounded-static
only.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
Auto Trait Implementations§
impl RefUnwindSafe for IdleDoneCodec
impl Send for IdleDoneCodec
impl Sync for IdleDoneCodec
impl Unpin 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