pub enum MtpErrorKind {
General,
PtpLayer,
UsbLayer,
MemoryAllocation,
NoDeviceAttached,
StorageFull,
Connecting,
Cancelled,
}Expand description
Enumeration of possible libmtp errors, check
Error::MtpError for more information.
Variants§
Trait Implementations§
Source§impl Clone for MtpErrorKind
impl Clone for MtpErrorKind
Source§fn clone(&self) -> MtpErrorKind
fn clone(&self) -> MtpErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MtpErrorKind
impl Debug for MtpErrorKind
impl Copy for MtpErrorKind
Auto Trait Implementations§
impl Freeze for MtpErrorKind
impl RefUnwindSafe for MtpErrorKind
impl Send for MtpErrorKind
impl Sync for MtpErrorKind
impl Unpin for MtpErrorKind
impl UnwindSafe for MtpErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more