pub enum SystemdUnitFileState {
Enabled,
EnabledRuntime,
Linked,
LinkedRuntime,
Masked,
MaskedRuntime,
Static,
Disabled,
Invalid,
}Expand description
encodes the install state of the unit file of FragmentPath. https://www.freedesktop.org/wiki/Software/systemd/dbus/ UnitFileState property
Variants§
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 · 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<'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 FromStr for SystemdUnitFileState
impl FromStr for SystemdUnitFileState
Source§impl PartialEq for SystemdUnitFileState
impl PartialEq for SystemdUnitFileState
Source§impl Serialize for SystemdUnitFileState
impl Serialize 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 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