pub enum ShellState {
Shell,
SubprocessRunning,
Terminated,
Unknown,
}
Expand description
§ShellState
ShellState represents the shell environment state, which basically is a super state of the shell state. This is used to switch between built-in modes (std shell, text editor, …)
Variants§
Trait Implementations§
Source§impl Clone for ShellState
impl Clone for ShellState
Source§fn clone(&self) -> ShellState
fn clone(&self) -> ShellState
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ShellState
impl Debug for ShellState
Source§impl PartialEq for ShellState
impl PartialEq for ShellState
impl Copy for ShellState
impl StructuralPartialEq for ShellState
Auto Trait Implementations§
impl Freeze for ShellState
impl RefUnwindSafe for ShellState
impl Send for ShellState
impl Sync for ShellState
impl Unpin for ShellState
impl UnwindSafe for ShellState
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