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