#[repr(u8)]pub enum SECURITY_MODE {
Tee = 0,
Ree0 = 1,
Ree1 = 2,
Ree2 = 3,
}
Expand description
M0 security level mode: 2’d3: ree_mode2. 2’d2: ree_mode1. 2’d1: ree_mode0. 2’d0: tee_mode
Value on reset: 0
Variants§
Trait Implementations§
Source§impl Clone for SECURITY_MODE
impl Clone for SECURITY_MODE
Source§fn clone(&self) -> SECURITY_MODE
fn clone(&self) -> SECURITY_MODE
Returns a copy 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 Debug for SECURITY_MODE
impl Debug for SECURITY_MODE
Source§impl From<SECURITY_MODE> for u8
impl From<SECURITY_MODE> for u8
Source§fn from(variant: SECURITY_MODE) -> Self
fn from(variant: SECURITY_MODE) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SECURITY_MODE
impl PartialEq for SECURITY_MODE
impl Copy for SECURITY_MODE
impl Eq for SECURITY_MODE
impl IsEnum for SECURITY_MODE
impl StructuralPartialEq for SECURITY_MODE
Auto Trait Implementations§
impl Freeze for SECURITY_MODE
impl RefUnwindSafe for SECURITY_MODE
impl Send for SECURITY_MODE
impl Sync for SECURITY_MODE
impl Unpin for SECURITY_MODE
impl UnwindSafe for SECURITY_MODE
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