pub enum ShellSessionState {
Idle,
PtyAllocated,
Running,
Exited,
}Expand description
Shell session state
Variants§
Idle
Waiting for PTY or shell request
PtyAllocated
PTY allocated, waiting for shell/exec
Running
Shell or command running
Exited
Session completed with exit status
Trait Implementations§
Source§impl Clone for ShellSessionState
impl Clone for ShellSessionState
Source§fn clone(&self) -> ShellSessionState
fn clone(&self) -> ShellSessionState
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShellSessionState
impl Debug for ShellSessionState
Source§impl PartialEq for ShellSessionState
impl PartialEq for ShellSessionState
impl Copy for ShellSessionState
impl Eq for ShellSessionState
impl StructuralPartialEq for ShellSessionState
Auto Trait Implementations§
impl Freeze for ShellSessionState
impl RefUnwindSafe for ShellSessionState
impl Send for ShellSessionState
impl Sync for ShellSessionState
impl Unpin for ShellSessionState
impl UnwindSafe for ShellSessionState
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)