Enum signatory::Error [−][src]
#[non_exhaustive] pub enum Error { AlgorithmInvalid, DuplicateKey, Ecdsa, KeyNameInvalid, Io(Error), NotADirectory, Parse, Permissions, Pkcs8(Error), }
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.
Algorithm is invalid.
Duplicate key in keyring.
This is supported on crate feature
ecdsa
only.ECDSA errors.
Key name is invalid.
Io(Error)
This is supported on crate feature
std
only.I/O errors
This is supported on crate feature
std
only.Expected a directory, found something else
Parse errors for raw/non-PKCS#8 keys.
This is supported on crate feature
std
only.Permissions error, not required mode
Pkcs8(Error)
PKCS#8 errors
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error