#[repr(u8)]pub enum Errorstatus {
NO_ERROR = 0,
PREMATURE_INPTR_END = 1,
PREMATURE_OUTPTR_END = 2,
ENCRYPTION_TOO_SLOW = 3,
DMA_ERROR = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
NO_ERROR = 0
No errors have occurred
PREMATURE_INPTR_END = 1
End of INPTR job list before CCM data structure was read.
PREMATURE_OUTPTR_END = 2
End of OUTPTR job list before CCM data structure was read.
ENCRYPTION_TOO_SLOW = 3
Encryption of the unencrypted CCM data structure did not complete in time.
DMA_ERROR = 4
Bus error during DMA access.
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Source§impl Errorstatus
impl Errorstatus
Trait Implementations§
Source§impl Clone for Errorstatus
impl Clone for Errorstatus
Source§fn clone(&self) -> Errorstatus
fn clone(&self) -> Errorstatus
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 From<Errorstatus> for u8
impl From<Errorstatus> for u8
Source§fn from(val: Errorstatus) -> u8
fn from(val: Errorstatus) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Errorstatus
impl From<u8> for Errorstatus
Source§fn from(val: u8) -> Errorstatus
fn from(val: u8) -> Errorstatus
Converts to this type from the input type.
Source§impl Ord for Errorstatus
impl Ord for Errorstatus
Source§fn cmp(&self, other: &Errorstatus) -> Ordering
fn cmp(&self, other: &Errorstatus) -> 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 Errorstatus
impl PartialEq for Errorstatus
Source§impl PartialOrd for Errorstatus
impl PartialOrd for Errorstatus
impl Copy for Errorstatus
impl Eq for Errorstatus
impl StructuralPartialEq for Errorstatus
Auto Trait Implementations§
impl Freeze for Errorstatus
impl RefUnwindSafe for Errorstatus
impl Send for Errorstatus
impl Sync for Errorstatus
impl Unpin for Errorstatus
impl UnwindSafe for Errorstatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)