Be aware: Foundation will NEVER ask for your seed words, device PIN, or call you unexpectedly. If anyone does, it's a scam.

Enum

ArchivedCryptoError

#[repr(u8)]
pub enum ArchivedCryptoError
where usize: Archive,
{
Show 13 variants XousError(<usize as Archive>::Archived), UnknownError, InvalidParameter, DmaError, InvalidAddress, InvalidDataLength, BufferNotContiguous, TooManyAesContexts, TooManySecuramKeys, InvalidKeyLength, UnalignedDataLength, InvalidMode, InvalidState,
}
Expand description

An archived CryptoError

Variants

XousError(<usize as Archive>::Archived)

The archived counterpart of CryptoError::XousError

Tuple Fields

0: <usize as Archive>::Archived

The archived counterpart of CryptoError::XousError::0

UnknownError

The archived counterpart of CryptoError::UnknownError

InvalidParameter

The archived counterpart of CryptoError::InvalidParameter

DmaError

The archived counterpart of CryptoError::DmaError

InvalidAddress

The archived counterpart of CryptoError::InvalidAddress

InvalidDataLength

The archived counterpart of CryptoError::InvalidDataLength

BufferNotContiguous

The archived counterpart of CryptoError::BufferNotContiguous

TooManyAesContexts

The archived counterpart of CryptoError::TooManyAesContexts

TooManySecuramKeys

The archived counterpart of CryptoError::TooManySecuramKeys

InvalidKeyLength

The archived counterpart of CryptoError::InvalidKeyLength

UnalignedDataLength

The archived counterpart of CryptoError::UnalignedDataLength

InvalidMode

The archived counterpart of CryptoError::InvalidMode

InvalidState

The archived counterpart of CryptoError::InvalidState

Trait Implementations

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCryptoError
where usize: Archive, <__C as Fallible>::Error: Source, <usize as Archive>::Archived: CheckBytes<__C>,

unsafe fn check_bytes( value: *const Self, context: &mut __C, ) -> Result<(), <__C as Fallible>::Error>

Checks whether the given pointer points to a valid value within the given context. Read more

impl Portable for ArchivedCryptoError
where usize: Archive, <usize as Archive>::Archived: Portable,

Auto Trait Implementations

impl Freeze for ArchivedCryptoError

impl RefUnwindSafe for ArchivedCryptoError

impl Send for ArchivedCryptoError

impl Sync for ArchivedCryptoError

impl Unpin for ArchivedCryptoError

impl UnsafeUnpin for ArchivedCryptoError

impl UnwindSafe for ArchivedCryptoError