#[repr(u8)]pub enum ArchivedFidoErrorwhere
usize: Archive,
CryptoError: Archive,
Error: Archive,{
Xous(<usize as Archive>::Archived),
Crypto(<CryptoError as Archive>::Archived),
AccessDenied,
Fs(<Error as Archive>::Archived),
Ecdsa,
InvalidIndex,
UnselectedKey,
UnRegisteredKey,
Io,
EmptyLabel,
DuplicateLabel,
Other,
}Expand description
An archived FidoError
Variants§
Xous(<usize as Archive>::Archived)
The archived counterpart of FidoError::Xous
Tuple Fields
§
0: <usize as Archive>::ArchivedThe archived counterpart of FidoError::Xous::0
Crypto(<CryptoError as Archive>::Archived)
The archived counterpart of FidoError::Crypto
Tuple Fields
§
0: <CryptoError as Archive>::ArchivedThe archived counterpart of FidoError::Crypto::0
AccessDenied
The archived counterpart of FidoError::AccessDenied
Fs(<Error as Archive>::Archived)
The archived counterpart of FidoError::Fs
Tuple Fields
§
0: <Error as Archive>::ArchivedThe archived counterpart of FidoError::Fs::0
Ecdsa
The archived counterpart of FidoError::Ecdsa
InvalidIndex
The archived counterpart of FidoError::InvalidIndex
UnselectedKey
The archived counterpart of FidoError::UnselectedKey
UnRegisteredKey
The archived counterpart of FidoError::UnRegisteredKey
Io
The archived counterpart of FidoError::Io
EmptyLabel
The archived counterpart of FidoError::EmptyLabel
DuplicateLabel
The archived counterpart of FidoError::DuplicateLabel
Other
The archived counterpart of FidoError::Other
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedFidoError
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedFidoError
impl Portable for ArchivedFidoError
Auto Trait Implementations§
impl Freeze for ArchivedFidoError
impl RefUnwindSafe for ArchivedFidoError
impl Send for ArchivedFidoError
impl Sync for ArchivedFidoError
impl Unpin for ArchivedFidoError
impl UnwindSafe for ArchivedFidoError
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.