Enum mailstrom::error::Error [−][src]
pub enum Error { Send(SendError<Message>), EmailParser(ParseError), General(String), Storage(String), DnsUnavailable, Lock, Io(IoError), }
Variants
Send(SendError<Message>)
EmailParser(ParseError)
General(String)
Storage(String)
Lock
Io(IoError)
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<SendError<Message>> for Error
[src]
impl From<SendError<Message>> for Error
impl From<ParseError> for Error
[src]
impl From<ParseError> for Error
fn from(e: ParseError) -> Error
[src]
fn from(e: ParseError) -> Error
Performs the conversion.
impl From<String> for Error
[src]
impl From<String> for Error
impl<S: MailstromStorageError> From<S> for Error
[src]
impl<S: MailstromStorageError> From<S> for Error
impl From<IoError> for Error
[src]
impl From<IoError> for Error
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for Error
[src]
impl Error for Error