pub enum UsbErrorResolver{
XousError(<usize as Archive>::Resolver),
EhciError(<EhciError as Archive>::Resolver),
Other,
NotFound,
NotClaimed,
DataTooLarge,
AlreadyRegistered,
WrongDirection,
Busy,
HostDisconnected,
InvalidParameter,
InterfaceDisabled,
}Expand description
The resolver for an archived UsbError
Variants§
XousError(<usize as Archive>::Resolver)
The resolver for UsbError::XousError
EhciError(<EhciError as Archive>::Resolver)
The resolver for UsbError::EhciError
Other
The resolver for UsbError::Other
NotFound
The resolver for UsbError::NotFound
NotClaimed
The resolver for UsbError::NotClaimed
DataTooLarge
The resolver for UsbError::DataTooLarge
AlreadyRegistered
The resolver for UsbError::AlreadyRegistered
WrongDirection
The resolver for UsbError::WrongDirection
Busy
The resolver for UsbError::Busy
HostDisconnected
The resolver for UsbError::HostDisconnected
InvalidParameter
The resolver for UsbError::InvalidParameter
InterfaceDisabled
The resolver for UsbError::InterfaceDisabled
Auto Trait Implementations§
impl Freeze for UsbErrorResolver
impl RefUnwindSafe for UsbErrorResolver
impl Send for UsbErrorResolver
impl Sync for UsbErrorResolver
impl Unpin for UsbErrorResolver
impl UnwindSafe for UsbErrorResolver
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.