pub enum EnumerationError {
Transfer(PipeError),
InvalidDescriptor,
ConfigBufferTooSmall(usize),
NoPipe,
RequestFailed,
}Expand description
USB host enumeration error.
Variants§
Transfer(PipeError)
Transfer failed during enumeration.
InvalidDescriptor
Invalid or unexpected descriptor received.
ConfigBufferTooSmall(usize)
Configuration buffer too small
NoPipe
No free pipe for EP0 or no free device address.
RequestFailed
The device did not respond to a control request after retries.
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 EnumerationError
impl Format for EnumerationError
Source§impl From<HostError> for EnumerationError
impl From<HostError> for EnumerationError
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