Enum openssh_mux_client::SessionStatus
source · [−]pub enum SessionStatus {
TtyAllocFail(EstablishedSession),
Exited {
exit_value: Option<u32>,
},
}
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
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SessionStatus
impl Send for SessionStatus
impl Sync for SessionStatus
impl Unpin for SessionStatus
impl UnwindSafe for SessionStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more