#[repr(transparent)]pub struct SecLock(pub u32);Expand description
Security level lock
Tuple Fields§
§0: u32Implementations§
Source§impl SecLock
impl SecLock
Sourcepub const fn set_sec_level(&mut self, val: SecLevel)
pub const fn set_sec_level(&mut self, val: SecLevel)
Security Level
Sourcepub const fn anti_pole_sec_level(&self) -> AntiPoleSecLevel
pub const fn anti_pole_sec_level(&self) -> AntiPoleSecLevel
Anti-pole of security level
Sourcepub const fn set_anti_pole_sec_level(&mut self, val: AntiPoleSecLevel)
pub const fn set_anti_pole_sec_level(&mut self, val: AntiPoleSecLevel)
Anti-pole of security level
Sourcepub const fn set_pattern(&mut self, val: u16)
pub const fn set_pattern(&mut self, val: u16)
Pattern
Trait Implementations§
impl Copy for SecLock
impl Eq for SecLock
impl StructuralPartialEq for SecLock
Auto Trait Implementations§
impl Freeze for SecLock
impl RefUnwindSafe for SecLock
impl Send for SecLock
impl Sync for SecLock
impl Unpin for SecLock
impl UnwindSafe for SecLock
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