pub struct MlsLevel {
pub sensitivity: u16,
pub categories: u64,
}Expand description
MLS security level with sensitivity and category bitmask.
Dominance: level A dominates level B iff A.sensitivity >= B.sensitivity AND A.categories is a superset of B.categories.
Fields§
§sensitivity: u16Sensitivity level (0 = lowest, higher = more sensitive)
categories: u64Category bitmask (up to 64 categories)
Implementations§
Trait Implementations§
impl Copy for MlsLevel
impl Eq for MlsLevel
impl StructuralPartialEq for MlsLevel
Auto Trait Implementations§
impl Freeze for MlsLevel
impl RefUnwindSafe for MlsLevel
impl Send for MlsLevel
impl Sync for MlsLevel
impl Unpin for MlsLevel
impl UnwindSafe for MlsLevel
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)