#[non_exhaustive]pub enum Lockdown {
Off,
Integrity,
Confidentiality,
}Expand description
How far the kernel restricts even root.
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.
Off
No restriction.
Integrity
Root cannot modify the running kernel.
Confidentiality
Root can neither modify nor read kernel memory.
Trait Implementations§
impl Copy for Lockdown
impl Eq for Lockdown
impl StructuralPartialEq for Lockdown
Auto Trait Implementations§
impl Forget for Lockdown
impl Freeze for Lockdown
impl RefUnwindSafe for Lockdown
impl Send for Lockdown
impl Sync for Lockdown
impl Unpin for Lockdown
impl UnsafeUnpin for Lockdown
impl UnwindSafe for Lockdown
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