pub enum OverrideDesired {
LeaveAlone,
Stopped,
Absent,
Detected,
}Expand description
What the override holds the unit to (§8). A Stopped override also undoes
a generation activation that starts the unit again (principle 9).
Variants§
LeaveAlone
Do not repair; take no action.
Stopped
Stop or kill a service.
Absent
Disable or mask.
Detected
Unmount, eject or unbind a device.
Trait Implementations§
Source§impl Clone for OverrideDesired
impl Clone for OverrideDesired
Source§fn clone(&self) -> OverrideDesired
fn clone(&self) -> OverrideDesired
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 OverrideDesired
impl Debug for OverrideDesired
Source§impl<'de> Deserialize<'de> for OverrideDesired
impl<'de> Deserialize<'de> for OverrideDesired
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 Hash for OverrideDesired
impl Hash for OverrideDesired
Source§impl Ord for OverrideDesired
impl Ord for OverrideDesired
Source§fn cmp(&self, other: &OverrideDesired) -> Ordering
fn cmp(&self, other: &OverrideDesired) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OverrideDesired
impl PartialEq for OverrideDesired
Source§impl PartialOrd for OverrideDesired
impl PartialOrd for OverrideDesired
Source§impl Serialize for OverrideDesired
impl Serialize for OverrideDesired
impl Copy for OverrideDesired
impl Eq for OverrideDesired
impl StructuralPartialEq for OverrideDesired
Auto Trait Implementations§
impl Freeze for OverrideDesired
impl RefUnwindSafe for OverrideDesired
impl Send for OverrideDesired
impl Sync for OverrideDesired
impl Unpin for OverrideDesired
impl UnsafeUnpin for OverrideDesired
impl UnwindSafe for OverrideDesired
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