Enum libusb::Error [] [src]

pub enum Error {
    Success,
    Io,
    InvalidParam,
    Access,
    NoDevice,
    NotFound,
    Busy,
    Timeout,
    Overflow,
    Pipe,
    Interrupted,
    NoMem,
    NotSupported,
    Other,
}

Errors returned by the libusb library.

Variants

Success (no error).

Input/output error.

Invalid parameter.

Access denied (insufficient permissions).

No such device (it may have been disconnected).

Entity not found.

Resource busy.

Operation timed out.

Overflow.

Pipe error.

System call interrupted (perhaps due to signal).

Insufficient memory.

Operation not supported or unimplemented on this platform.

Other error.

Methods

impl Error
[src]

Returns a description of an error suitable for display to an end user.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

A short description of the error. Read more

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