Enum Errorstatus
#[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§
§impl Errorstatus
impl Errorstatus
pub const fn from_bits(val: u8) -> Errorstatus
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Errorstatus
impl Clone for Errorstatus
§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 more§impl From<u8> for Errorstatus
impl From<u8> for Errorstatus
§fn from(val: u8) -> Errorstatus
fn from(val: u8) -> Errorstatus
Converts to this type from the input type.
§impl Ord for Errorstatus
impl Ord for Errorstatus
§impl PartialEq for Errorstatus
impl PartialEq for Errorstatus
§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
)