Enum openssh_mux_client::TryWaitSessionStatus [−][src]
pub enum TryWaitSessionStatus {
TtyAllocFail(EstablishedSession),
Exited {
exit_value: Option<u32>,
},
InProgress(EstablishedSession),
}
Variants
TtyAllocFail(EstablishedSession)
Tuple Fields
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
.