Struct imap_codec::AuthenticateDataCodec
source · #[non_exhaustive]pub struct AuthenticateDataCodec;
Expand description
Codec for authenticate data lines.
Implementations§
Trait Implementations§
source§impl Debug for AuthenticateDataCodec
impl Debug for AuthenticateDataCodec
source§impl Decoder for AuthenticateDataCodec
impl Decoder for AuthenticateDataCodec
type Message<'a> = AuthenticateData
type Error<'a> = AuthenticateDataDecodeError
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 AuthenticateDataCodec
impl Default for AuthenticateDataCodec
source§fn default() -> AuthenticateDataCodec
fn default() -> AuthenticateDataCodec
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for AuthenticateDataCodec
impl Send for AuthenticateDataCodec
impl Sync for AuthenticateDataCodec
impl Unpin for AuthenticateDataCodec
impl UnwindSafe for AuthenticateDataCodec
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