#[non_exhaustive]pub enum Operation {
Connect,
Authentication,
ChannelOpen,
Command,
Shell,
Sftp,
Forwarding,
Server,
Shutdown,
Other,
}Expand description
High-level operation category used by timeout, cancellation, and disconnects.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Connect
Establishing a client connection.
Authentication
Authenticating a client or server session.
ChannelOpen
Opening a channel.
Command
Running a remote command.
Shell
Running an interactive shell.
Sftp
Running SFTP.
Forwarding
Running forwarding or tunnel work.
Server
Running server work.
Shutdown
Shutting down an operation.
Other
Other operation.
Trait Implementations§
impl Copy for Operation
impl Eq for Operation
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnsafeUnpin for Operation
impl UnwindSafe for Operation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more