pub enum MaildirError {
Io(Error),
Utf8(Utf8Error),
Time(SystemTimeError),
}
Variants§
Trait Implementations§
source§impl Debug for MaildirError
impl Debug for MaildirError
source§impl Display for MaildirError
impl Display for MaildirError
source§impl Error for MaildirError
impl Error for MaildirError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 MaildirError
impl From<Error> for MaildirError
source§fn from(e: Error) -> MaildirError
fn from(e: Error) -> MaildirError
Converts to this type from the input type.
source§impl From<SystemTimeError> for MaildirError
impl From<SystemTimeError> for MaildirError
source§fn from(e: SystemTimeError) -> MaildirError
fn from(e: SystemTimeError) -> MaildirError
Converts to this type from the input type.
source§impl From<Utf8Error> for MaildirError
impl From<Utf8Error> for MaildirError
source§fn from(e: Utf8Error) -> MaildirError
fn from(e: Utf8Error) -> MaildirError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MaildirError
impl !RefUnwindSafe for MaildirError
impl Send for MaildirError
impl Sync for MaildirError
impl Unpin for MaildirError
impl !UnwindSafe for MaildirError
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