#[non_exhaustive]pub enum ProtectSystem {
No,
Yes,
Full,
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 ProtectSystem
impl Clone for ProtectSystem
impl Copy for ProtectSystem
Source§impl Debug for ProtectSystem
impl Debug for ProtectSystem
impl Eq for ProtectSystem
Source§impl From<ProtectSystem> for Variant<'_>
impl From<ProtectSystem> for Variant<'_>
Source§fn from(v: ProtectSystem) -> Self
fn from(v: ProtectSystem) -> Self
Converts to this type from the input type.
Source§impl FromStr for ProtectSystem
impl FromStr for ProtectSystem
Source§impl Hash for ProtectSystem
impl Hash for ProtectSystem
Source§impl PartialEq for ProtectSystem
impl PartialEq for ProtectSystem
impl StructuralPartialEq for ProtectSystem
Source§impl TryFrom<Variant<'_>> for ProtectSystem
impl TryFrom<Variant<'_>> for ProtectSystem
Auto Trait Implementations§
impl Freeze for ProtectSystem
impl RefUnwindSafe for ProtectSystem
impl Send for ProtectSystem
impl Sync for ProtectSystem
impl Unpin for ProtectSystem
impl UnsafeUnpin for ProtectSystem
impl UnwindSafe for ProtectSystem
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