pub enum ShellState {
Conceived,
Spawning,
Bootstrapping,
Running,
Suspended,
Migrating,
Dying,
Dead,
}Expand description
Lifecycle states a shell can be in.
Variants§
Trait Implementations§
Source§impl Clone for ShellState
impl Clone for ShellState
Source§fn clone(&self) -> ShellState
fn clone(&self) -> ShellState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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<'de> Deserialize<'de> for ShellState
impl<'de> Deserialize<'de> for ShellState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ShellState
impl Hash for ShellState
Source§impl PartialEq for ShellState
impl PartialEq for ShellState
Source§fn eq(&self, other: &ShellState) -> bool
fn eq(&self, other: &ShellState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ShellState
impl Serialize for ShellState
impl Copy for ShellState
impl Eq 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 UnsafeUnpin 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