Enum ptp::Error
[−]
[src]
pub enum Error { Response(u16), Malformed(String), Usb(Error), Io(Error), }
An error in a PTP command
Variants
Response(u16)
PTP Responder returned a status code other than Ok, either a constant in StandardResponseCode or a vendor-defined code
Malformed(String)
Data received was malformed
Usb(Error)
Another libusb error
Io(Error)
Another IO error
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more