Enum monitord::units::SystemdUnitActiveState
source · #[repr(u8)]pub enum SystemdUnitActiveState {
unknown,
active,
reloading,
inactive,
failed,
activating,
deactivating,
}Expand description
Possible systemd unit active states enumerated
Variants§
Trait Implementations§
source§impl Clone for SystemdUnitActiveState
impl Clone for SystemdUnitActiveState
source§fn clone(&self) -> SystemdUnitActiveState
fn clone(&self) -> SystemdUnitActiveState
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 SystemdUnitActiveState
impl Debug for SystemdUnitActiveState
source§impl Default for SystemdUnitActiveState
impl Default for SystemdUnitActiveState
source§fn default() -> SystemdUnitActiveState
fn default() -> SystemdUnitActiveState
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SystemdUnitActiveState
impl<'de> Deserialize<'de> for SystemdUnitActiveState
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 SystemdUnitActiveState
impl FromStr for SystemdUnitActiveState
source§impl IntEnum for SystemdUnitActiveState
impl IntEnum for SystemdUnitActiveState
source§impl PartialEq<SystemdUnitActiveState> for SystemdUnitActiveState
impl PartialEq<SystemdUnitActiveState> for SystemdUnitActiveState
source§fn eq(&self, other: &SystemdUnitActiveState) -> bool
fn eq(&self, other: &SystemdUnitActiveState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SystemdUnitActiveState
impl Serialize for SystemdUnitActiveState
source§impl ToString for SystemdUnitActiveState
impl ToString for SystemdUnitActiveState
impl Copy for SystemdUnitActiveState
impl Eq for SystemdUnitActiveState
impl StructuralEq for SystemdUnitActiveState
impl StructuralPartialEq for SystemdUnitActiveState
Auto Trait Implementations§
impl RefUnwindSafe for SystemdUnitActiveState
impl Send for SystemdUnitActiveState
impl Sync for SystemdUnitActiveState
impl Unpin for SystemdUnitActiveState
impl UnwindSafe for SystemdUnitActiveState
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.