#[repr(u8)]pub enum ArchivedCryptoErrorwhere
usize: Archive,{
XousError(<usize as Archive>::Archived),
UnknownError,
InvalidParameter,
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>::ArchivedThe archived counterpart of CryptoError::XousError::0
UnknownError
The archived counterpart of CryptoError::UnknownError
InvalidParameter
The archived counterpart of CryptoError::InvalidParameter
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§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCryptoError
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCryptoError
impl Portable for ArchivedCryptoError
Auto Trait Implementations§
impl Freeze for ArchivedCryptoError
impl RefUnwindSafe for ArchivedCryptoError
impl Send for ArchivedCryptoError
impl Sync for ArchivedCryptoError
impl Unpin for ArchivedCryptoError
impl UnwindSafe for ArchivedCryptoError
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.