Enum teensy4_bsp::usb::Error [−][src]
pub enum Error {
SetLogger,
WrongInstance,
NotConfigured,
Io,
}
This is supported on crate feature
usb-logging
only.Expand description
Indicate an error when preparing or using the USB stack
Variants
SetLogger
The error indicates that you’ve already set the logger, either from this interface or through another logging interface.
The init
function may return this error.
WrongInstance
Incorrect USB instance; use the imrt_ral
’s USB1
instance
NotConfigured
The USB device hasn’t been configured by the host
Try again after the host has a chance to configure the device. If you receive this repeatedly, you might not be connected to a USB host.
Any USB CDC I/O method may return this error.
Io
Arbitrary I/O error
Any USB CDC I/O method may return this error.
Trait Implementations
Performs the conversion.