#[repr(u8)]pub enum TzmImageType {
VALUE_0 = 0,
VALUE_1 = 1,
VALUE_2 = 2,
VALUE_3 = 3,
}Variants§
VALUE_0 = 0
TZ-M image mode is taken from application image header
VALUE_1 = 1
TZ-M disabled image, boots to non-secure mode
VALUE_2 = 2
TZ-M enabled image, boots to secure mode
VALUE_3 = 3
TZ-M enabled image with TZ-M preset, boot to secure mode TZ-M pre-configured by data from application image header
Implementations§
Source§impl TzmImageType
impl TzmImageType
Trait Implementations§
Source§impl Clone for TzmImageType
impl Clone for TzmImageType
Source§fn clone(&self) -> TzmImageType
fn clone(&self) -> TzmImageType
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 TzmImageType
impl Debug for TzmImageType
Source§impl From<TzmImageType> for u8
impl From<TzmImageType> for u8
Source§fn from(val: TzmImageType) -> u8
fn from(val: TzmImageType) -> u8
Converts to this type from the input type.
Source§impl From<u8> for TzmImageType
impl From<u8> for TzmImageType
Source§fn from(val: u8) -> TzmImageType
fn from(val: u8) -> TzmImageType
Converts to this type from the input type.
Source§impl Ord for TzmImageType
impl Ord for TzmImageType
Source§fn cmp(&self, other: &TzmImageType) -> Ordering
fn cmp(&self, other: &TzmImageType) -> 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 TzmImageType
impl PartialEq for TzmImageType
Source§impl PartialOrd for TzmImageType
impl PartialOrd for TzmImageType
impl Copy for TzmImageType
impl Eq for TzmImageType
impl StructuralPartialEq for TzmImageType
Auto Trait Implementations§
impl Freeze for TzmImageType
impl RefUnwindSafe for TzmImageType
impl Send for TzmImageType
impl Sync for TzmImageType
impl Unpin for TzmImageType
impl UnwindSafe for TzmImageType
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