pub enum ProtectHome {
No,
Yes,
ReadOnly,
}Expand description
Protection level for home directories (systemd: ProtectHome=)
Variants§
No
No protection
Yes
/home, /root, /run/user inaccessible
ReadOnly
/home, /root, /run/user read-only
Trait Implementations§
Source§impl Clone for ProtectHome
impl Clone for ProtectHome
impl Copy for ProtectHome
Source§impl Debug for ProtectHome
impl Debug for ProtectHome
Source§impl Default for ProtectHome
impl Default for ProtectHome
impl Eq for ProtectHome
Source§impl PartialEq for ProtectHome
impl PartialEq for ProtectHome
impl StructuralPartialEq for ProtectHome
Auto Trait Implementations§
impl Freeze for ProtectHome
impl RefUnwindSafe for ProtectHome
impl Send for ProtectHome
impl Sync for ProtectHome
impl Unpin for ProtectHome
impl UnsafeUnpin for ProtectHome
impl UnwindSafe for ProtectHome
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