pub enum TryWaitSessionStatus {
TtyAllocFail(EstablishedSession),
Exited {
exit_value: Option<u32>,
},
InProgress(EstablishedSession),
}
Variants
TtyAllocFail(EstablishedSession)
Remote ssh server failed to allocate a tty, you can now return the tty to cooked mode.
This arm includes EstablishedSession
so that you can call wait
on it
again and retrieve the exit status and the underlying connection.
Exited
The process on the remote machine has exited with exit_value
.
InProgress(EstablishedSession)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TryWaitSessionStatus
impl Send for TryWaitSessionStatus
impl Sync for TryWaitSessionStatus
impl Unpin for TryWaitSessionStatus
impl UnwindSafe for TryWaitSessionStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more