pub enum SystemdUnitFileState {
Enabled,
EnabledMinusRuntime,
Linked,
LinkedMinusRuntime,
Masked,
MaskedMinusRuntime,
Static,
Disabled,
Invalid,
}Variants§
Enabled
EnabledMinusRuntime
Linked
LinkedMinusRuntime
Masked
MaskedMinusRuntime
Static
Disabled
Invalid
Trait Implementations§
Source§impl Clone for SystemdUnitFileState
impl Clone for SystemdUnitFileState
Source§fn clone(&self) -> SystemdUnitFileState
fn clone(&self) -> SystemdUnitFileState
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 SystemdUnitFileState
impl Debug for SystemdUnitFileState
Source§impl Default for SystemdUnitFileState
impl Default for SystemdUnitFileState
Source§fn default() -> SystemdUnitFileState
fn default() -> SystemdUnitFileState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SystemdUnitFileState
impl<'de> Deserialize<'de> for SystemdUnitFileState
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 SystemdUnitFileState
impl Hash for SystemdUnitFileState
Source§impl Ord for SystemdUnitFileState
impl Ord for SystemdUnitFileState
Source§fn cmp(&self, other: &SystemdUnitFileState) -> Ordering
fn cmp(&self, other: &SystemdUnitFileState) -> Ordering
1.21.0 (const: unstable) · 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 SystemdUnitFileState
impl PartialEq for SystemdUnitFileState
Source§fn eq(&self, other: &SystemdUnitFileState) -> bool
fn eq(&self, other: &SystemdUnitFileState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SystemdUnitFileState
impl PartialOrd for SystemdUnitFileState
Source§impl Serialize for SystemdUnitFileState
impl Serialize for SystemdUnitFileState
impl Copy for SystemdUnitFileState
impl Eq for SystemdUnitFileState
impl StructuralPartialEq for SystemdUnitFileState
Auto Trait Implementations§
impl Freeze for SystemdUnitFileState
impl RefUnwindSafe for SystemdUnitFileState
impl Send for SystemdUnitFileState
impl Sync for SystemdUnitFileState
impl Unpin for SystemdUnitFileState
impl UnsafeUnpin for SystemdUnitFileState
impl UnwindSafe for SystemdUnitFileState
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