pub enum ProtectSystem {
No,
Yes,
Full,
Strict,
}Expand description
Protection level for system directories (systemd: ProtectSystem=)
Variants§
No
No protection
Yes
/usr, /boot, /efi read-only
Full
- /etc read-only
Strict
Entire FS read-only except /dev, /proc, /sys
Trait Implementations§
Source§impl Clone for ProtectSystem
impl Clone for ProtectSystem
impl Copy for ProtectSystem
Source§impl Debug for ProtectSystem
impl Debug for ProtectSystem
Source§impl Default for ProtectSystem
impl Default for ProtectSystem
impl Eq for ProtectSystem
Source§impl PartialEq for ProtectSystem
impl PartialEq for ProtectSystem
impl StructuralPartialEq 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