Enum gcnctrlusb::Error
[−]
[src]
pub enum Error { Usb(Error), UnrecognizedProtocol, InvalidPacket, }
An error that occurs during usage of this library.
Variants
Usb(Error)
A USB driver error that can occur at any time while utilizing this library.
UnrecognizedProtocol
A seemingly valid adapter was found, but its communication protocol could not be resolved.
InvalidPacket
An invalid message was read from the adapter, likely due to a device or driver failure.
Trait Implementations
impl Debug for Error
[src]
impl StdError for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
The lower-level cause of this error, if any. Read more
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), FmtError>
Formats the value using the given formatter. Read more