Enum thrussh_keys::ErrorKind
[−]
pub enum ErrorKind { Msg(String), IO(Error), Utf8(Utf8Error), Ring(Unspecified), Thrussh(Error), Base64(DecodeError), Hex(FromHexError), RustCrypto, CouldNotReadKey, KeyIsEncrypted, NoHomeDir, KeyChanged(usize), }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
IO(Error)
Utf8(Utf8Error)
Ring(Unspecified)
Thrussh(Error)
Base64(DecodeError)
Hex(FromHexError)
RustCrypto
CouldNotReadKey
KeyIsEncrypted
NoHomeDir
KeyChanged(usize)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.