#[non_exhaustive]pub struct AuthenticateDataCodec;Expand description
Codec for authenticate data lines.
Implementations§
Trait Implementations§
Source§impl Clone for AuthenticateDataCodec
impl Clone for AuthenticateDataCodec
Source§fn clone(&self) -> AuthenticateDataCodec
fn clone(&self) -> AuthenticateDataCodec
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 AuthenticateDataCodec
impl Debug for AuthenticateDataCodec
Source§impl Decoder for AuthenticateDataCodec
impl Decoder for AuthenticateDataCodec
type Message<'a> = AuthenticateData<'a>
type Error<'a> = AuthenticateDataDecodeError
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 AuthenticateDataCodec
impl Default for AuthenticateDataCodec
Source§fn default() -> AuthenticateDataCodec
fn default() -> AuthenticateDataCodec
Returns the “default value” for a type. Read more
Source§impl Encoder for AuthenticateDataCodec
impl Encoder for AuthenticateDataCodec
Source§impl PartialEq for AuthenticateDataCodec
impl PartialEq for AuthenticateDataCodec
impl StructuralPartialEq for AuthenticateDataCodec
Auto Trait Implementations§
impl Freeze for AuthenticateDataCodec
impl RefUnwindSafe for AuthenticateDataCodec
impl Send for AuthenticateDataCodec
impl Sync for AuthenticateDataCodec
impl Unpin for AuthenticateDataCodec
impl UnsafeUnpin 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