#[repr(u8)]pub enum MasterKeySel {
SELECT_OTPMK = 0,
_RESERVED_1 = 1,
SELECT_ZMK = 2,
SELECT_COMBO = 3,
}Variants§
SELECT_OTPMK = 0
Select one time programmable master key.
_RESERVED_1 = 1
SELECT_ZMK = 2
Select zeroizable master key when MKS_EN bit is set .
SELECT_COMBO = 3
Select combined master key when MKS_EN bit is set .
Implementations§
Source§impl MasterKeySel
impl MasterKeySel
Trait Implementations§
Source§impl Clone for MasterKeySel
impl Clone for MasterKeySel
Source§fn clone(&self) -> MasterKeySel
fn clone(&self) -> MasterKeySel
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 Debug for MasterKeySel
impl Debug for MasterKeySel
Source§impl From<MasterKeySel> for u8
impl From<MasterKeySel> for u8
Source§fn from(val: MasterKeySel) -> u8
fn from(val: MasterKeySel) -> u8
Converts to this type from the input type.
Source§impl From<u8> for MasterKeySel
impl From<u8> for MasterKeySel
Source§fn from(val: u8) -> MasterKeySel
fn from(val: u8) -> MasterKeySel
Converts to this type from the input type.
Source§impl Ord for MasterKeySel
impl Ord for MasterKeySel
Source§fn cmp(&self, other: &MasterKeySel) -> Ordering
fn cmp(&self, other: &MasterKeySel) -> 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 MasterKeySel
impl PartialEq for MasterKeySel
Source§impl PartialOrd for MasterKeySel
impl PartialOrd for MasterKeySel
impl Copy for MasterKeySel
impl Eq for MasterKeySel
impl StructuralPartialEq for MasterKeySel
Auto Trait Implementations§
impl Freeze for MasterKeySel
impl RefUnwindSafe for MasterKeySel
impl Send for MasterKeySel
impl Sync for MasterKeySel
impl Unpin for MasterKeySel
impl UnwindSafe for MasterKeySel
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