Enum thrussh::Error [] [src]

pub enum Error {
    CouldNotReadKey,
    Base64(FromBase64Error),
    KexInit,
    Version,
    Kex,
    PacketAuth,
    Inconsistent,
    IndexOutOfBounds,
    Utf8(Utf8Error),
    UnknownKey,
    WrongChannel,
    IO(Error),
    Disconnect,
    NoHomeDir,
    KeyChanged(usize),
    HUP,
    Ring(Unspecified),
    ConnectionTimeout,
    NoAuthMethod,
}

Errors.

Variants

The key file could not be parsed.

Base 64 decoding error.

Could not find common algorithms.

Invalid SSH version string.

Error during key exchange.

Invalid packet authentication code.

The protocol is in an inconsistent state.

Index out of bounds.

UTF-8 decoding error (most probably ASCII error).

Unknown server key.

Message received/sent on unopened channel.

I/O error.

Disconnected

No home directory found when trying to learn new host key.

Remote key changed, this could mean a man-in-the-middle attack is being performed on the connection.

Connection closed by the remote side.

Error from the cryptography layer (ring).

Connection timeout.

Missing authentication method.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter.

impl Error for Error
[src]

A short description of the error. Read more

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

impl From<Error> for Error
[src]

Performs the conversion.

impl From<Unspecified> for Error
[src]

Performs the conversion.

impl From<Utf8Error> for Error
[src]

Performs the conversion.

impl From<FromBase64Error> for Error
[src]

Performs the conversion.