pub enum MailEntryError {
IOError(Error),
ParseError(MailParsingError),
DateError(&'static str),
ChronoError(ParseError),
}
Variants§
Trait Implementations§
source§impl Debug for MailEntryError
impl Debug for MailEntryError
source§impl Display for MailEntryError
impl Display for MailEntryError
source§impl Error for MailEntryError
impl Error for MailEntryError
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<&'static str> for MailEntryError
impl From<&'static str> for MailEntryError
source§fn from(err: &'static str) -> MailEntryError
fn from(err: &'static str) -> MailEntryError
Converts to this type from the input type.
source§impl From<Error> for MailEntryError
impl From<Error> for MailEntryError
source§fn from(err: Error) -> MailEntryError
fn from(err: Error) -> MailEntryError
Converts to this type from the input type.
source§impl From<MailParsingError> for MailEntryError
impl From<MailParsingError> for MailEntryError
source§fn from(err: MailParsingError) -> MailEntryError
fn from(err: MailParsingError) -> MailEntryError
Converts to this type from the input type.
source§impl From<ParseError> for MailEntryError
impl From<ParseError> for MailEntryError
source§fn from(err: ParseError) -> MailEntryError
fn from(err: ParseError) -> MailEntryError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MailEntryError
impl !RefUnwindSafe for MailEntryError
impl Send for MailEntryError
impl Sync for MailEntryError
impl Unpin for MailEntryError
impl !UnwindSafe for MailEntryError
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