Enum mailparse::MailParseError [−][src]
pub enum MailParseError { QuotedPrintableDecodeError(QuotedPrintableError), Base64DecodeError(DecodeError), EncodingError(Cow<'static, str>), Generic(&'static str), }
Expand description
An error type that represents the different kinds of errors that may be encountered during message parsing.
Variants
QuotedPrintableDecodeError(QuotedPrintableError)
Data that was specified as being in the quoted-printable transfer-encoding could not be successfully decoded as quoted-printable data.
Base64DecodeError(DecodeError)
Data that was specified as being in the base64 transfer-encoding could not be successfully decoded as base64 data.
An error occurred when converting the raw byte data to Rust UTF-8 string format using the charset specified in the message.
Generic(&'static str)
Some other error occurred while parsing the message; the description string provides additional details.
Trait Implementations
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
use the Display impl or to_string()
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for MailParseError
impl Send for MailParseError
impl Sync for MailParseError
impl Unpin for MailParseError
impl UnwindSafe for MailParseError