Struct imap_codec::tokio::server::ImapServerCodec
source · pub struct ImapServerCodec { /* private fields */ }
Available on crate feature
tokio
only.Implementations§
Trait Implementations§
source§impl Clone for ImapServerCodec
impl Clone for ImapServerCodec
source§fn clone(&self) -> ImapServerCodec
fn clone(&self) -> ImapServerCodec
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 ImapServerCodec
impl Debug for ImapServerCodec
source§impl Decoder for ImapServerCodec
impl Decoder for ImapServerCodec
§type Error = ImapServerCodecError
type Error = ImapServerCodecError
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 Encoder<&Greeting<'_>> for ImapServerCodec
impl Encoder<&Greeting<'_>> for ImapServerCodec
source§impl Encoder<&Response<'_>> for ImapServerCodec
impl Encoder<&Response<'_>> for ImapServerCodec
source§impl PartialEq<ImapServerCodec> for ImapServerCodec
impl PartialEq<ImapServerCodec> for ImapServerCodec
source§fn eq(&self, other: &ImapServerCodec) -> bool
fn eq(&self, other: &ImapServerCodec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ImapServerCodec
impl StructuralEq for ImapServerCodec
impl StructuralPartialEq for ImapServerCodec
Auto Trait Implementations§
impl RefUnwindSafe for ImapServerCodec
impl Send for ImapServerCodec
impl Sync for ImapServerCodec
impl Unpin for ImapServerCodec
impl UnwindSafe for ImapServerCodec
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