Enum sequoia_openpgp::message::MessageParserError [−][src]
#[non_exhaustive]
pub enum MessageParserError {
Parser(ParseError<usize, Token, LexicalError>),
OpenPGP(Error),
}Expand description
Errors that MessageValidator::check may return.
Note: This enum cannot be exhaustively matched to allow future extensions.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Parser(ParseError<usize, Token, LexicalError>)A parser error.
Tuple Fields of Parser
0: ParseError<usize, Token, LexicalError>OpenPGP(Error)An OpenPGP error.
Tuple Fields of OpenPGP
0: ErrorTrait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for MessageParserError
impl Send for MessageParserError
impl Sync for MessageParserError
impl Unpin for MessageParserError
impl UnwindSafe for MessageParserError
Blanket Implementations
Mutably borrows from an owned value. Read more