Enum monitord::system::SystemdSystemState
source · #[repr(u8)]pub enum SystemdSystemState {
unknown,
initializing,
starting,
running,
degraded,
maintenance,
stopping,
offline,
}Variants§
Trait Implementations§
source§impl Clone for SystemdSystemState
impl Clone for SystemdSystemState
source§fn clone(&self) -> SystemdSystemState
fn clone(&self) -> SystemdSystemState
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 SystemdSystemState
impl Debug for SystemdSystemState
source§impl Default for SystemdSystemState
impl Default for SystemdSystemState
source§fn default() -> SystemdSystemState
fn default() -> SystemdSystemState
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SystemdSystemState
impl<'de> Deserialize<'de> for SystemdSystemState
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 FromStr for SystemdSystemState
impl FromStr for SystemdSystemState
source§impl IntEnum for SystemdSystemState
impl IntEnum for SystemdSystemState
source§impl PartialEq<SystemdSystemState> for SystemdSystemState
impl PartialEq<SystemdSystemState> for SystemdSystemState
source§fn eq(&self, other: &SystemdSystemState) -> bool
fn eq(&self, other: &SystemdSystemState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SystemdSystemState
impl Serialize for SystemdSystemState
source§impl ToString for SystemdSystemState
impl ToString for SystemdSystemState
impl Copy for SystemdSystemState
impl Eq for SystemdSystemState
impl StructuralEq for SystemdSystemState
impl StructuralPartialEq for SystemdSystemState
Auto Trait Implementations§
impl RefUnwindSafe for SystemdSystemState
impl Send for SystemdSystemState
impl Sync for SystemdSystemState
impl Unpin for SystemdSystemState
impl UnwindSafe for SystemdSystemState
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.