#[non_exhaustive]pub enum KernelSupport {
Unsupported,
SELinux,
SELinuxMLS,
}
Expand description
Support of SELinux in the running kernel.
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.
Unsupported
SELinux is unsupported.
SELinux
SELinux is supported.
SELinuxMLS
SELinux is supported, with Multi Level Security.
Trait Implementations§
Source§impl Clone for KernelSupport
impl Clone for KernelSupport
Source§fn clone(&self) -> KernelSupport
fn clone(&self) -> KernelSupport
Returns a duplicate 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 KernelSupport
impl Debug for KernelSupport
Source§impl Hash for KernelSupport
impl Hash for KernelSupport
Source§impl Ord for KernelSupport
impl Ord for KernelSupport
Source§fn cmp(&self, other: &KernelSupport) -> Ordering
fn cmp(&self, other: &KernelSupport) -> 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 KernelSupport
impl PartialEq for KernelSupport
Source§impl PartialOrd for KernelSupport
impl PartialOrd for KernelSupport
impl Copy for KernelSupport
impl Eq for KernelSupport
impl StructuralPartialEq for KernelSupport
Auto Trait Implementations§
impl Freeze for KernelSupport
impl RefUnwindSafe for KernelSupport
impl Send for KernelSupport
impl Sync for KernelSupport
impl Unpin for KernelSupport
impl UnwindSafe for KernelSupport
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