pub enum UnitFileState {
Enabled,
EnabledRuntime,
Linked,
LinkedRuntime,
Masked,
MaskedRuntime,
Static,
Disabled,
Invalid,
}
Variants§
Trait Implementations§
Source§impl Clone for UnitFileState
impl Clone for UnitFileState
Source§fn clone(&self) -> UnitFileState
fn clone(&self) -> UnitFileState
Returns a copy 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 UnitFileState
impl Debug for UnitFileState
Source§impl<'de> Deserialize<'de> for UnitFileState
impl<'de> Deserialize<'de> for UnitFileState
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 From<&UnitFileState> for &str
impl From<&UnitFileState> for &str
Source§fn from(s: &UnitFileState) -> Self
fn from(s: &UnitFileState) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a UnitFileState> for OwnedValue
impl<'a> From<&'a UnitFileState> for OwnedValue
Source§fn from(value: &'a UnitFileState) -> Self
fn from(value: &'a UnitFileState) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a UnitFileState> for Value<'a>
impl<'a> From<&'a UnitFileState> for Value<'a>
Source§fn from(value: &'a UnitFileState) -> Self
fn from(value: &'a UnitFileState) -> Self
Converts to this type from the input type.
Source§impl From<UnitFileState> for &str
impl From<UnitFileState> for &str
Source§fn from(m: UnitFileState) -> Self
fn from(m: UnitFileState) -> Self
Converts to this type from the input type.
Source§impl From<UnitFileState> for OwnedValue
impl From<UnitFileState> for OwnedValue
Source§fn from(value: UnitFileState) -> Self
fn from(value: UnitFileState) -> Self
Converts to this type from the input type.
Source§impl<'a> From<UnitFileState> for Value<'a>
impl<'a> From<UnitFileState> for Value<'a>
Source§fn from(value: UnitFileState) -> Self
fn from(value: UnitFileState) -> Self
Converts to this type from the input type.
Source§impl FromStr for UnitFileState
impl FromStr for UnitFileState
Source§impl Ord for UnitFileState
impl Ord for UnitFileState
Source§fn cmp(&self, other: &UnitFileState) -> Ordering
fn cmp(&self, other: &UnitFileState) -> 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 UnitFileState
impl PartialEq for UnitFileState
Source§impl PartialOrd for UnitFileState
impl PartialOrd for UnitFileState
Source§impl Serialize for UnitFileState
impl Serialize for UnitFileState
Source§impl TryFrom<OwnedValue> for UnitFileState
impl TryFrom<OwnedValue> for UnitFileState
Source§impl<'a> TryFrom<Value<'a>> for UnitFileState
impl<'a> TryFrom<Value<'a>> for UnitFileState
Source§impl Type for UnitFileState
impl Type for UnitFileState
impl Copy for UnitFileState
impl Eq for UnitFileState
impl StructuralPartialEq for UnitFileState
Auto Trait Implementations§
impl Freeze for UnitFileState
impl RefUnwindSafe for UnitFileState
impl Send for UnitFileState
impl Sync for UnitFileState
impl Unpin for UnitFileState
impl UnwindSafe for UnitFileState
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.