#[non_exhaustive]pub enum ProtectControlGroups {
No,
Yes,
Private,
Strict,
}Expand description
Non-exhaustive: new systemd releases add values.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for ProtectControlGroups
impl Clone for ProtectControlGroups
impl Copy for ProtectControlGroups
Source§impl Debug for ProtectControlGroups
impl Debug for ProtectControlGroups
impl Eq for ProtectControlGroups
Source§impl From<ProtectControlGroups> for Variant<'_>
impl From<ProtectControlGroups> for Variant<'_>
Source§fn from(v: ProtectControlGroups) -> Self
fn from(v: ProtectControlGroups) -> Self
Converts to this type from the input type.
Source§impl FromStr for ProtectControlGroups
impl FromStr for ProtectControlGroups
Source§impl Hash for ProtectControlGroups
impl Hash for ProtectControlGroups
Source§impl PartialEq for ProtectControlGroups
impl PartialEq for ProtectControlGroups
impl StructuralPartialEq for ProtectControlGroups
Source§impl TryFrom<Variant<'_>> for ProtectControlGroups
impl TryFrom<Variant<'_>> for ProtectControlGroups
Auto Trait Implementations§
impl Freeze for ProtectControlGroups
impl RefUnwindSafe for ProtectControlGroups
impl Send for ProtectControlGroups
impl Sync for ProtectControlGroups
impl Unpin for ProtectControlGroups
impl UnsafeUnpin for ProtectControlGroups
impl UnwindSafe for ProtectControlGroups
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