pub struct ImapCodec { /* private fields */ }Trait Implementations§
Source§impl<'a> Decoder for ImapCodec
impl<'a> Decoder for ImapCodec
Source§type Item = ResponseData
type Item = ResponseData
The type of decoded frames.
Source§fn decode(&mut self, buf: &mut BytesMut) -> Result<Option<Self::Item>, Error>
fn decode(&mut self, buf: &mut BytesMut) -> Result<Option<Self::Item>, Error>
Attempts to decode a frame from the provided buffer of bytes. Read more
Auto Trait Implementations§
impl Freeze for ImapCodec
impl RefUnwindSafe for ImapCodec
impl Send for ImapCodec
impl Sync for ImapCodec
impl Unpin for ImapCodec
impl UnwindSafe for ImapCodec
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