pub enum EnumerationError {
Transfer(ChannelError),
InvalidDescriptor,
NoChannel,
}Expand description
USB host enumeration error.
Variants§
Transfer(ChannelError)
Transfer failed during enumeration.
InvalidDescriptor
Invalid or unexpected descriptor received.
NoChannel
No free channel for EP0.
Trait Implementations§
Source§impl Debug for EnumerationError
impl Debug for EnumerationError
Source§impl Display for EnumerationError
impl Display for EnumerationError
Source§impl Error for EnumerationError
impl Error for EnumerationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl Format for EnumerationErrorwhere
ChannelError: Format,
impl Format for EnumerationErrorwhere
ChannelError: Format,
Source§impl From<ChannelError> for EnumerationError
impl From<ChannelError> for EnumerationError
Source§fn from(e: ChannelError) -> Self
fn from(e: ChannelError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EnumerationError
impl RefUnwindSafe for EnumerationError
impl Send for EnumerationError
impl Sync for EnumerationError
impl Unpin for EnumerationError
impl UnwindSafe for EnumerationError
Blanket Implementations§
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