Enum landlock::RulesetStatus
source · pub enum RulesetStatus {
FullyEnforced,
PartiallyEnforced,
NotEnforced,
}
Expand description
Enforcement status of a ruleset.
Variants§
FullyEnforced
All requested restrictions are enforced.
PartiallyEnforced
Some requested restrictions are enforced, following a best-effort approach.
NotEnforced
The running system doesn’t support Landlock or a subset of the requested Landlock features.
Trait Implementations§
source§impl Debug for RulesetStatus
impl Debug for RulesetStatus
source§impl PartialEq for RulesetStatus
impl PartialEq for RulesetStatus
source§fn eq(&self, other: &RulesetStatus) -> bool
fn eq(&self, other: &RulesetStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RulesetStatus
impl StructuralPartialEq for RulesetStatus
Auto Trait Implementations§
impl Freeze for RulesetStatus
impl RefUnwindSafe for RulesetStatus
impl Send for RulesetStatus
impl Sync for RulesetStatus
impl Unpin for RulesetStatus
impl UnwindSafe for RulesetStatus
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