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]
impl Errorpub fn strerror(&self) -> &'static str[src]
pub fn strerror(&self) -> &'static strReturns a description of an error suitable for display to an end user.
Trait Implementations
impl Debug for Error[src]
impl Debug for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Display for Error[src]
impl Display for Errorfn fmt(&self, fmt: &mut Formatter) -> StdResult<(), Error>[src]
fn fmt(&self, fmt: &mut Formatter) -> StdResult<(), Error>Formats the value using the given formatter. Read more
impl StdError for Error[src]
impl StdError for Error