Enum ssh2_patched::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
sourceimpl Clone for DisconnectCode
impl Clone for DisconnectCode
sourcefn clone(&self) -> DisconnectCode
fn clone(&self) -> DisconnectCode
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for DisconnectCode
Auto Trait Implementations
impl RefUnwindSafe for DisconnectCode
impl Send for DisconnectCode
impl Sync for DisconnectCode
impl Unpin for DisconnectCode
impl UnwindSafe for DisconnectCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more