pub enum SessionCommand<S: AsRef<str>> {
Shell,
Exec(S),
Subsystem(S),
}
Expand description
Convenience for the types of session channels that can be opened
Variants§
Auto Trait Implementations§
impl<S> Freeze for SessionCommand<S>where
S: Freeze,
impl<S> RefUnwindSafe for SessionCommand<S>where
S: RefUnwindSafe,
impl<S> Send for SessionCommand<S>where
S: Send,
impl<S> Sync for SessionCommand<S>where
S: Sync,
impl<S> Unpin for SessionCommand<S>where
S: Unpin,
impl<S> UnwindSafe for SessionCommand<S>where
S: UnwindSafe,
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