Enum thrussh_keys::Error [−][src]
pub enum Error {}Show variants
CouldNotReadKey, UnsupportedKeyType(Vec<u8>), KeyIsEncrypted, NoHomeDir, KeyChanged { line: usize, }, UnknownAlgorithm(ObjectIdentifier), IndexOutOfBounds, UnknownSignatureType { sig_type: String, }, AgentProtocolError, AgentFailure, IO(Error), BlockMode(BlockModeError), Decode(DecodeError), ASN1(ASN1Error), EnvVar(&'static str), BadAuthSock,
Variants
The key could not be read, for an unknown reason
The type of the key is unsupported
The key is encrypted (should supply a password?)
Home directory could not be found
The server key has changed
Show fields
Fields of KeyChanged
line: usize
UnknownAlgorithm(ObjectIdentifier)
The key uses an unsupported algorithm
Index out of bounds
Unknown signature type
Show fields
Fields of UnknownSignatureType
sig_type: String
Agent protocol error
IO(Error)
BlockMode(BlockModeError)
Decode(DecodeError)
ASN1(ASN1Error)
EnvVar(&'static str)
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error