#[non_exhaustive]pub enum UndefinedHandling {
Allowed,
DeniedAtRunTime,
RejectedAtLoadTime,
}
Expand description
SELinux handling of undefined object classes and permissions.
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.
Allowed
Undefined object classes and permissions are allowed.
DeniedAtRunTime
Undefined object classes and permissions are deined at run time.
RejectedAtLoadTime
Undefined object classes and permissions are rejected at policy load time.
Trait Implementations§
Source§impl Clone for UndefinedHandling
impl Clone for UndefinedHandling
Source§fn clone(&self) -> UndefinedHandling
fn clone(&self) -> UndefinedHandling
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UndefinedHandling
impl Debug for UndefinedHandling
Source§impl Hash for UndefinedHandling
impl Hash for UndefinedHandling
Source§impl Ord for UndefinedHandling
impl Ord for UndefinedHandling
Source§fn cmp(&self, other: &UndefinedHandling) -> Ordering
fn cmp(&self, other: &UndefinedHandling) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UndefinedHandling
impl PartialEq for UndefinedHandling
Source§impl PartialOrd for UndefinedHandling
impl PartialOrd for UndefinedHandling
impl Copy for UndefinedHandling
impl Eq for UndefinedHandling
impl StructuralPartialEq for UndefinedHandling
Auto Trait Implementations§
impl Freeze for UndefinedHandling
impl RefUnwindSafe for UndefinedHandling
impl Send for UndefinedHandling
impl Sync for UndefinedHandling
impl Unpin for UndefinedHandling
impl UnwindSafe for UndefinedHandling
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