pub enum SshError {
Show 19 variants
InvalidPacket,
VersionMismatch,
KeyExchangeFailed,
AuthenticationFailed,
TooManyAuthAttempts,
ChannelNotFound,
ChannelExists,
WindowExhausted,
BufferTooSmall,
ConnectionClosed,
InvalidState,
ServiceNotAvailable,
PacketTooLarge,
MacVerifyFailed,
ProtocolError,
ResourceShortage,
InvalidChannelType,
PtyAllocationFailed,
SessionLimitReached,
}Expand description
SSH error types
Variants§
InvalidPacket
Invalid or malformed packet
VersionMismatch
Version exchange failed
KeyExchangeFailed
Key exchange failure
AuthenticationFailed
Authentication failed
TooManyAuthAttempts
Maximum auth attempts exceeded
ChannelNotFound
Channel not found
ChannelExists
Channel already exists
WindowExhausted
Window exhausted (flow control)
BufferTooSmall
Buffer too small
ConnectionClosed
Connection closed
InvalidState
Invalid state transition
ServiceNotAvailable
Service not available
PacketTooLarge
Packet too large
MacVerifyFailed
Invalid MAC
ProtocolError
Protocol error
ResourceShortage
Resource shortage
InvalidChannelType
Invalid channel type
PtyAllocationFailed
PTY allocation failed
SessionLimitReached
Session limit reached
Trait Implementations§
impl Copy for SshError
impl Eq for SshError
impl StructuralPartialEq for SshError
Auto Trait Implementations§
impl Freeze for SshError
impl RefUnwindSafe for SshError
impl Send for SshError
impl Sync for SshError
impl Unpin for SshError
impl UnwindSafe for SshError
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)