Enum pem_rfc7468::Error [−][src]
#[non_exhaustive]
pub enum Error {
Base64,
CharacterEncoding,
EncapsulatedText,
HeaderDisallowed,
Label,
Length,
Preamble,
PreEncapsulationBoundary,
PostEncapsulationBoundary,
}
Expand description
Error type.
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.
Base64-related errors.
Character encoding-related errors.
Errors in the encapsulated text (which aren’t specifically Base64-related).
Header detected in the encapsulated text.
Invalid label.
Invalid length.
“Preamble” (text before pre-encapsulation boundary) contains invalid data.
Errors in the pre-encapsulation boundary.
Errors in the post-encapsulation boundary.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more