pub enum CryptoErrorResolverwhere
usize: Archive,{
XousError(<usize as Archive>::Resolver),
UnknownError,
InvalidParameter,
InvalidAddress,
InvalidDataLength,
BufferNotContiguous,
TooManyAesContexts,
TooManySecuramKeys,
InvalidKeyLength,
UnalignedDataLength,
InvalidMode,
InvalidState,
}Expand description
The resolver for an archived CryptoError
Variants§
XousError(<usize as Archive>::Resolver)
The resolver for CryptoError::XousError
UnknownError
The resolver for CryptoError::UnknownError
InvalidParameter
The resolver for CryptoError::InvalidParameter
InvalidAddress
The resolver for CryptoError::InvalidAddress
InvalidDataLength
The resolver for CryptoError::InvalidDataLength
BufferNotContiguous
The resolver for CryptoError::BufferNotContiguous
TooManyAesContexts
The resolver for CryptoError::TooManyAesContexts
TooManySecuramKeys
The resolver for CryptoError::TooManySecuramKeys
InvalidKeyLength
The resolver for CryptoError::InvalidKeyLength
UnalignedDataLength
The resolver for CryptoError::UnalignedDataLength
InvalidMode
The resolver for CryptoError::InvalidMode
InvalidState
The resolver for CryptoError::InvalidState
Auto Trait Implementations§
impl Freeze for CryptoErrorResolver
impl RefUnwindSafe for CryptoErrorResolver
impl Send for CryptoErrorResolver
impl Sync for CryptoErrorResolver
impl Unpin for CryptoErrorResolver
impl UnwindSafe for CryptoErrorResolver
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.