Enum gcnctrlusb::Error [] [src]

pub enum Error {
    Usb(Error),
    UnrecognizedProtocol,
    InvalidPacket,
}

An error that occurs during usage of this library.

Variants

A USB driver error that can occur at any time while utilizing this library.

A seemingly valid adapter was found, but its communication protocol could not be resolved.

An invalid message was read from the adapter, likely due to a device or driver failure.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl StdError for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl From<Error> for Error
[src]

Performs the conversion.