#[repr(u8)]pub enum EnableNsPrivCheck {
_RESERVED_0 = 0,
Enabled = 1,
Disabled = 2,
_RESERVED_3 = 3,
}Variants§
_RESERVED_0 = 0
Enabled = 1
Enables privilege checking of non-secure mode access.
Disabled = 2
Disables privilege checking of non-secure mode access is disabled.
_RESERVED_3 = 3
Implementations§
Trait Implementations§
Source§impl Clone for EnableNsPrivCheck
impl Clone for EnableNsPrivCheck
Source§fn clone(&self) -> EnableNsPrivCheck
fn clone(&self) -> EnableNsPrivCheck
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 From<EnableNsPrivCheck> for u8
impl From<EnableNsPrivCheck> for u8
Source§fn from(val: EnableNsPrivCheck) -> u8
fn from(val: EnableNsPrivCheck) -> u8
Converts to this type from the input type.
Source§impl From<u8> for EnableNsPrivCheck
impl From<u8> for EnableNsPrivCheck
Source§fn from(val: u8) -> EnableNsPrivCheck
fn from(val: u8) -> EnableNsPrivCheck
Converts to this type from the input type.
Source§impl Ord for EnableNsPrivCheck
impl Ord for EnableNsPrivCheck
Source§fn cmp(&self, other: &EnableNsPrivCheck) -> Ordering
fn cmp(&self, other: &EnableNsPrivCheck) -> 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 EnableNsPrivCheck
impl PartialEq for EnableNsPrivCheck
Source§impl PartialOrd for EnableNsPrivCheck
impl PartialOrd for EnableNsPrivCheck
impl Copy for EnableNsPrivCheck
impl Eq for EnableNsPrivCheck
impl StructuralPartialEq for EnableNsPrivCheck
Auto Trait Implementations§
impl Freeze for EnableNsPrivCheck
impl RefUnwindSafe for EnableNsPrivCheck
impl Send for EnableNsPrivCheck
impl Sync for EnableNsPrivCheck
impl Unpin for EnableNsPrivCheck
impl UnwindSafe for EnableNsPrivCheck
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