Enum imap_codec::tokio::server::ImapServerCodecError
source · pub enum ImapServerCodecError {
Io(IoError),
Framing(FramingError),
ParsingFailed,
}
Available on crate feature
tokio
only.Variants§
Trait Implementations§
source§impl Debug for ImapServerCodecError
impl Debug for ImapServerCodecError
source§impl Display for ImapServerCodecError
impl Display for ImapServerCodecError
source§impl Error for ImapServerCodecError
impl Error for ImapServerCodecError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for ImapServerCodecError
impl From<Error> for ImapServerCodecError
source§impl From<FramingError> for ImapServerCodecError
impl From<FramingError> for ImapServerCodecError
source§fn from(source: FramingError) -> Self
fn from(source: FramingError) -> Self
Converts to this type from the input type.
source§impl PartialEq<ImapServerCodecError> for ImapServerCodecError
impl PartialEq<ImapServerCodecError> for ImapServerCodecError
Auto Trait Implementations§
impl !RefUnwindSafe for ImapServerCodecError
impl Send for ImapServerCodecError
impl Sync for ImapServerCodecError
impl Unpin for ImapServerCodecError
impl !UnwindSafe for ImapServerCodecError
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