Enum thrussh::Error[][src]

pub enum Error {
    CouldNotReadKey,
    KexInit,
    NoCommonKexAlgo,
    NoCommonKeyAlgo,
    NoCommonCipher,
    Version,
    Kex,
    PacketAuth,
    Inconsistent,
    IndexOutOfBounds,
    Utf8(Utf8Error),
    UnknownKey,
    WrongChannel,
    IO(Error),
    Disconnect,
    NoHomeDir,
    KeyChanged(usize),
    HUP,
    OpenSSL(Error),
    OpenSSLStack(ErrorStack),
    Unit,
    ConnectionTimeout,
    NoAuthMethod,
    Keys(Error),
    Timer(TimerError),
}

Errors.

Variants

The key file could not be parsed.

Unspecified problem with the beginning of key exchange.

No common key exchange algorithm.

No common signature algorithm.

No common cipher.

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.

Error from the cryptography layer.

Unit error (sodiumoxide might return that).

Connection timeout.

Missing authentication method.

Keys error

Timer error

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Display 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<Utf8Error> for Error
[src]

Performs the conversion.

impl From<ErrorStack> for Error
[src]

Performs the conversion.

impl From<()> for Error
[src]

Performs the conversion.

impl<E> From<Error> for HandlerError<E>
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl !Sync for Error