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
SuccessSuccess (no error).
IoInput/output error.
InvalidParamInvalid parameter.
AccessAccess denied (insufficient permissions).
NoDeviceNo such device (it may have been disconnected).
NotFoundEntity not found.
BusyResource busy.
TimeoutOperation timed out.
OverflowOverflow.
PipePipe error.
InterruptedSystem call interrupted (perhaps due to signal).
NoMemInsufficient memory.
NotSupportedOperation not supported or unimplemented on this platform.
OtherOther error.
Methods
impl Error[src]
fn strerror(&self) -> &'static str
Returns a description of an error suitable for display to an end user.
Trait Implementations
impl Debug for Error[src]
impl Display for Error[src]
fn fmt(&self, fmt: &mut Formatter) -> StdResult<(), Error>
Formats the value using the given formatter.