pub enum SubState {
Show 45 variants
Dead,
Waiting,
Running,
Failed,
Tentative,
Plugged,
Mounting,
MountingDone,
Mounted,
Remounting,
Unmounting,
RemountingSigterm,
RemountingSigkill,
UnmountingSigterm,
UnmountingSigkill,
Cleaning,
Abandoned,
StopSigterm,
StopSigkill,
Condition,
StartPre,
Start,
StartPost,
Exited,
Reload,
Stop,
StopWatchdog,
StopPost,
FinalWatchdog,
FinalSigterm,
FinalSigkill,
AutoRestart,
AutoRestartQueued,
Active,
StartChown,
Listening,
StopPre,
StopPreSigterm,
StopPreSigkill,
Activating,
ActivatingDone,
Deactivating,
DeactivatingSigterm,
DeactivatingSigkill,
Elapsed,
}
Expand description
The SubState
of a unit is specific to the unit type, it is best to run
ⓘ
systemctl --state=help
to get a list of substate groups. Many states are in multiple groups.
Variants§
Dead
Waiting
Running
Failed
Tentative
Plugged
Mounting
MountingDone
Mounted
Remounting
Unmounting
RemountingSigterm
RemountingSigkill
UnmountingSigterm
UnmountingSigkill
Cleaning
Abandoned
StopSigterm
StopSigkill
Condition
StartPre
Start
StartPost
Exited
Reload
Stop
StopWatchdog
StopPost
FinalWatchdog
FinalSigterm
FinalSigkill
AutoRestart
AutoRestartQueued
Active
StartChown
Listening
StopPre
StopPreSigterm
StopPreSigkill
Activating
ActivatingDone
Deactivating
DeactivatingSigterm
DeactivatingSigkill
Elapsed
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SubState
impl<'de> Deserialize<'de> for SubState
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<'a> From<&'a SubState> for OwnedValue
impl<'a> From<&'a SubState> for OwnedValue
Source§impl From<SubState> for OwnedValue
impl From<SubState> for OwnedValue
Source§impl Ord for SubState
impl Ord for SubState
Source§impl PartialOrd for SubState
impl PartialOrd for SubState
Source§impl TryFrom<OwnedValue> for SubState
impl TryFrom<OwnedValue> for SubState
impl Copy for SubState
impl Eq for SubState
impl StructuralPartialEq for SubState
Auto Trait Implementations§
impl Freeze for SubState
impl RefUnwindSafe for SubState
impl Send for SubState
impl Sync for SubState
impl Unpin for SubState
impl UnwindSafe for SubState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.