Enum luftpost::mail::ErrorKind
[−]
pub enum ErrorKind { Msg(String), FileTransportError(Error), SmtpTransportError(Error), StubTransportError(Error), EmailFormatError(Error), TemplateError(TemplateRenderError), IoError(Error), }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
FileTransportError(Error)
SmtpTransportError(Error)
StubTransportError(Error)
EmailFormatError(Error)
TemplateError(TemplateRenderError)
IoError(Error)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.