Enum SubsystemState
pub enum SubsystemState {
Offline,
Starting,
Ready,
Active,
Degraded,
Faulted,
Stopped,
Unknown,
Custom(String),
}Expand description
Descriptive subsystem lifecycle or status vocabulary.
Variants§
Offline
Offline subsystem state.
Starting
Starting subsystem state.
Ready
Ready subsystem state.
Active
Active subsystem state.
Degraded
Degraded subsystem state.
Faulted
Faulted subsystem state.
Stopped
Stopped subsystem state.
Unknown
Unknown subsystem state.
Custom(String)
Caller-defined subsystem state text.
Trait Implementations§
§impl Clone for SubsystemState
impl Clone for SubsystemState
§fn clone(&self) -> SubsystemState
fn clone(&self) -> SubsystemState
Returns a duplicate 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 more§impl Debug for SubsystemState
impl Debug for SubsystemState
§impl Display for SubsystemState
impl Display for SubsystemState
§impl FromStr for SubsystemState
impl FromStr for SubsystemState
§impl Hash for SubsystemState
impl Hash for SubsystemState
§impl Ord for SubsystemState
impl Ord for SubsystemState
§impl PartialEq for SubsystemState
impl PartialEq for SubsystemState
§impl PartialOrd for SubsystemState
impl PartialOrd for SubsystemState
impl Eq for SubsystemState
impl StructuralPartialEq for SubsystemState
Auto Trait Implementations§
impl Freeze for SubsystemState
impl RefUnwindSafe for SubsystemState
impl Send for SubsystemState
impl Sync for SubsystemState
impl Unpin for SubsystemState
impl UnsafeUnpin for SubsystemState
impl UnwindSafe for SubsystemState
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