Enum ssh2::DisconnectCode
source · pub enum DisconnectCode {
Show 15 variants
HostNotAllowedToConnect,
ProtocolError,
KeyExchangeFailed,
Reserved,
MacError,
CompressionError,
ServiceNotAvailable,
ProtocolVersionNotSupported,
HostKeyNotVerifiable,
ConnectionLost,
ByApplication,
TooManyConnections,
AuthCancelledByUser,
NoMoreAuthMethodsAvailable,
IllegalUserName,
}
Variants§
HostNotAllowedToConnect
ProtocolError
KeyExchangeFailed
Reserved
MacError
CompressionError
ServiceNotAvailable
ProtocolVersionNotSupported
HostKeyNotVerifiable
ConnectionLost
ByApplication
TooManyConnections
AuthCancelledByUser
NoMoreAuthMethodsAvailable
IllegalUserName
Trait Implementations§
source§impl Clone for DisconnectCode
impl Clone for DisconnectCode
source§fn clone(&self) -> DisconnectCode
fn clone(&self) -> DisconnectCode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more