Enum thrussh::Error [−][src]
pub enum Error {}Show variants
CouldNotReadKey, KexInit, NoCommonKexAlgo, NoCommonKeyAlgo, NoCommonCipher, NoCommonCompression, Version, Kex, PacketAuth, Inconsistent, NotAuthenticated, IndexOutOfBounds, UnknownKey, WrongServerSig, WrongChannel, Disconnect, NoHomeDir, KeyChanged { line: usize, }, HUP, ConnectionTimeout, NoAuthMethod, SendError, Pending, Keys(Error), IO(Error), Utf8(Utf8Error), Compress(CompressError), Decompress(DecompressError), Join(JoinError), Elapsed(Elapsed),
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.
No common compression algorithm.
Invalid SSH version string.
Error during key exchange.
Invalid packet authentication code.
The protocol is in an inconsistent state.
The client is not yet authenticated.
Index out of bounds.
Unknown server key.
The server provided a wrong signature.
Message received/sent on unopened channel.
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.
Show fields
Fields of KeyChanged
line: usize
Connection closed by the remote side.
Connection timeout.
Missing authentication method.
Keys(Error)
IO(Error)
Utf8(Utf8Error)
Compress(CompressError)
Decompress(DecompressError)
Join(JoinError)
Elapsed(Elapsed)
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error