#[repr(C)]pub struct ArchivedU2fApduCommand{
pub class: <u8 as Archive>::Archived,
pub instruction: <u8 as Archive>::Archived,
pub p1: <u8 as Archive>::Archived,
pub p2: <u8 as Archive>::Archived,
pub data: <Vec<u8> as Archive>::Archived,
pub expected: <u32 as Archive>::Archived,
pub extended: <bool as Archive>::Archived,
}Expand description
An archived U2fApduCommand
Fields§
§class: <u8 as Archive>::ArchivedThe archived counterpart of U2fApduCommand::class
instruction: <u8 as Archive>::ArchivedThe archived counterpart of U2fApduCommand::instruction
p1: <u8 as Archive>::ArchivedThe archived counterpart of U2fApduCommand::p1
p2: <u8 as Archive>::ArchivedThe archived counterpart of U2fApduCommand::p2
data: <Vec<u8> as Archive>::ArchivedThe archived counterpart of U2fApduCommand::data
expected: <u32 as Archive>::ArchivedThe archived counterpart of U2fApduCommand::expected
extended: <bool as Archive>::ArchivedThe archived counterpart of U2fApduCommand::extended
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedU2fApduCommand
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedU2fApduCommand
impl Portable for ArchivedU2fApduCommand
Auto Trait Implementations§
impl Freeze for ArchivedU2fApduCommand
impl RefUnwindSafe for ArchivedU2fApduCommand
impl Send for ArchivedU2fApduCommand
impl Sync for ArchivedU2fApduCommand
impl !Unpin for ArchivedU2fApduCommand
impl UnwindSafe for ArchivedU2fApduCommand
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.