Struct imap_codec::tokio::client::ImapClientCodec
source · pub struct ImapClientCodec { /* private fields */ }
Available on crate feature
tokio
only.Implementations§
Trait Implementations§
source§impl Clone for ImapClientCodec
impl Clone for ImapClientCodec
source§fn clone(&self) -> ImapClientCodec
fn clone(&self) -> ImapClientCodec
Returns a copy 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 ImapClientCodec
impl Debug for ImapClientCodec
source§impl Decoder for ImapClientCodec
impl Decoder for ImapClientCodec
§type Error = ImapClientCodecError
type Error = ImapClientCodecError
The type of unrecoverable frame decoding errors. Read more
source§fn decode(
&mut self,
src: &mut BytesMut
) -> Result<Option<Self::Item>, Self::Error>
fn decode( &mut self, src: &mut BytesMut ) -> Result<Option<Self::Item>, Self::Error>
Attempts to decode a frame from the provided buffer of bytes. Read more
source§impl<'a> Encoder<&Command<'a>> for ImapClientCodec
impl<'a> Encoder<&Command<'a>> for ImapClientCodec
source§impl PartialEq<ImapClientCodec> for ImapClientCodec
impl PartialEq<ImapClientCodec> for ImapClientCodec
source§fn eq(&self, other: &ImapClientCodec) -> bool
fn eq(&self, other: &ImapClientCodec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ImapClientCodec
impl StructuralEq for ImapClientCodec
impl StructuralPartialEq for ImapClientCodec
Auto Trait Implementations§
impl RefUnwindSafe for ImapClientCodec
impl Send for ImapClientCodec
impl Sync for ImapClientCodec
impl Unpin for ImapClientCodec
impl UnwindSafe for ImapClientCodec
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