Enum thrussh_keys::Error[][src]

pub enum Error {
    IO(Error),
    Utf8(Utf8Error),
    OpenSSL(Error),
    OpenSSLStack(ErrorStack),
    Base64(DecodeError),
    Hex(FromHexError),
    Yasna(ASN1Error),
    TokioSpawn(SpawnError),
    Unit,
    CouldNotReadKey,
    UnsupportedKeyType(Vec<u8>),
    KeyIsEncrypted,
    NoHomeDir,
    KeyChanged(usize),
    UnknownAlgorithm(ObjectIdentifier),
    Poison,
    IndexOutOfBounds,
}

Variants

Unknown error

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

The key uses an unsupported algorithm

Lock poisoning error

Index out of bounds

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl From<Error> for Error
[src]

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.

impl From<ErrorStack> for Error
[src]

Performs the conversion.

impl From<ASN1Error> for Error
[src]

Performs the conversion.

impl From<SpawnError> for Error
[src]

Performs the conversion.

impl From<DecodeError> for Error
[src]

Performs the conversion.

impl From<FromHexError> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error