Enum ssh_key::Error [−][src]
#[non_exhaustive]
pub enum Error {
Algorithm,
Base64(Error),
CharacterEncoding,
Ecdsa(Error),
Length,
Overflow,
}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
Algorithm-related errors.
Base64(Error)
Tuple Fields
0: ErrorBase64-related errors.
CharacterEncoding
Character encoding-related errors.
Ecdsa(Error)
Tuple Fields
0: ErrorThis is supported on crate feature
sec1 only.ECDSA key encoding errors.
Length
Invalid length.
Overflow
Overflow errors.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more