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