#[repr(u8)]pub enum ArchivedCryptoErrorwhere
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>::ArchivedThe 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§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCryptoErrorwhere
usize: Archive,
<__C as Fallible>::Error: Source,
<usize as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedCryptoErrorwhere
usize: Archive,
<__C as Fallible>::Error: Source,
<usize as Archive>::Archived: CheckBytes<__C>,
Source§unsafe fn check_bytes(
value: *const Self,
context: &mut __C,
) -> Result<(), <__C as Fallible>::Error>
unsafe fn check_bytes( value: *const Self, context: &mut __C, ) -> Result<(), <__C as Fallible>::Error>
impl Portable for ArchivedCryptoErrorwhere
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
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§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>
§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.