Enum pkcs8::Error [−][src]
#[non_exhaustive] pub enum Error { Asn1(Error), Crypto, Pem, Io, FileNotFound, PermissionDenied, }
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.
Asn1(Error)
ASN.1 DER-related errors
Cryptographic errors
PEM encoding errors
This is supported on crate feature
std
only.I/O errors
This is supported on crate feature
std
only.File not found error
This is supported on crate feature
std
only.Permission denied reading file
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self