pub enum ActiveState {
Active,
Reloading,
Inactive,
Failed,
Activating,
Deactivating,
}
Expand description
The active state of a systemd unit
Variants§
Active
The service is active and responding
Reloading
Systemd is reloading the service
Inactive
The service is inactive
Failed
The service has failed
Activating
The service is activating - it has started but is not yet active
Deactivating
The service is deactivating - it has stopped but is not yet inactive
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 · 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 FromStr for ActiveState
impl FromStr for ActiveState
impl Copy 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 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