#[repr(C)]pub struct ArchivedEndpointProperties{
pub ep_type: <EndpointType as Archive>::Archived,
pub ep_direction: <EndpointDirection as Archive>::Archived,
pub max_packet_len: <u16 as Archive>::Archived,
pub interval: <u8 as Archive>::Archived,
pub use_dma: <bool as Archive>::Archived,
}Expand description
An archived EndpointProperties
Fields§
§ep_type: <EndpointType as Archive>::ArchivedThe archived counterpart of EndpointProperties::ep_type
ep_direction: <EndpointDirection as Archive>::ArchivedThe archived counterpart of EndpointProperties::ep_direction
max_packet_len: <u16 as Archive>::ArchivedThe archived counterpart of EndpointProperties::max_packet_len
interval: <u8 as Archive>::ArchivedThe archived counterpart of EndpointProperties::interval
use_dma: <bool as Archive>::ArchivedThe archived counterpart of EndpointProperties::use_dma
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEndpointPropertieswhere
EndpointType: Archive,
EndpointDirection: Archive,
u16: Archive,
u8: Archive,
bool: Archive,
<__C as Fallible>::Error: Trace,
<EndpointType as Archive>::Archived: CheckBytes<__C>,
<EndpointDirection as Archive>::Archived: CheckBytes<__C>,
<u16 as Archive>::Archived: CheckBytes<__C>,
<u8 as Archive>::Archived: CheckBytes<__C>,
<bool as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedEndpointPropertieswhere
EndpointType: Archive,
EndpointDirection: Archive,
u16: Archive,
u8: Archive,
bool: Archive,
<__C as Fallible>::Error: Trace,
<EndpointType as Archive>::Archived: CheckBytes<__C>,
<EndpointDirection as Archive>::Archived: CheckBytes<__C>,
<u16 as Archive>::Archived: CheckBytes<__C>,
<u8 as Archive>::Archived: CheckBytes<__C>,
<bool as Archive>::Archived: CheckBytes<__C>,
impl Portable for ArchivedEndpointPropertieswhere
EndpointType: Archive,
EndpointDirection: Archive,
u16: Archive,
u8: Archive,
bool: Archive,
<EndpointType as Archive>::Archived: Portable,
<EndpointDirection as Archive>::Archived: Portable,
<u16 as Archive>::Archived: Portable,
<u8 as Archive>::Archived: Portable,
<bool as Archive>::Archived: Portable,
Auto Trait Implementations§
impl Freeze for ArchivedEndpointProperties
impl RefUnwindSafe for ArchivedEndpointProperties
impl Send for ArchivedEndpointProperties
impl Sync for ArchivedEndpointProperties
impl Unpin for ArchivedEndpointProperties
impl UnwindSafe for ArchivedEndpointProperties
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.