pub enum ActiveState {
Activating,
Active,
Deactivating,
Failed,
Inactive,
Maintenance,
Refreshing,
Reloading,
Unknown,
}Expand description
Current state of the service process (systemd ActiveState).
Variants§
Trait Implementations§
Source§impl Clone for ActiveState
impl Clone for ActiveState
Source§fn clone(&self) -> ActiveState
fn clone(&self) -> ActiveState
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 ActiveState
impl Debug for ActiveState
Source§impl<'de> Deserialize<'de> for ActiveState
impl<'de> Deserialize<'de> for ActiveState
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 PartialEq for ActiveState
impl PartialEq for ActiveState
Source§fn eq(&self, other: &ActiveState) -> bool
fn eq(&self, other: &ActiveState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ActiveState
impl Serialize for ActiveState
impl StructuralPartialEq for ActiveState
Auto Trait Implementations§
impl Freeze for ActiveState
impl RefUnwindSafe for ActiveState
impl Send for ActiveState
impl Sync for ActiveState
impl Unpin for ActiveState
impl UnsafeUnpin for ActiveState
impl UnwindSafe for ActiveState
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