Enum mozdevice::DeviceError
source · pub enum DeviceError {
Adb(String),
FromInt(TryFromIntError),
InvalidStorage,
Io(Error),
MissingPackage,
MultipleDevices,
ParseInt(ParseIntError),
UnknownDevice(String),
Utf8(Utf8Error),
WalkDir(Error),
}
Variants§
Adb(String)
FromInt(TryFromIntError)
InvalidStorage
Io(Error)
MissingPackage
MultipleDevices
ParseInt(ParseIntError)
UnknownDevice(String)
Utf8(Utf8Error)
WalkDir(Error)
Trait Implementations§
source§impl Debug for DeviceError
impl Debug for DeviceError
source§impl Display for DeviceError
impl Display for DeviceError
source§impl Error for DeviceError
impl Error for DeviceError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<Error> for DeviceError
impl From<Error> for DeviceError
source§impl From<Error> for DeviceError
impl From<Error> for DeviceError
source§impl From<ParseIntError> for DeviceError
impl From<ParseIntError> for DeviceError
source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
source§impl From<TryFromIntError> for DeviceError
impl From<TryFromIntError> for DeviceError
source§fn from(source: TryFromIntError) -> Self
fn from(source: TryFromIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DeviceError
impl Send for DeviceError
impl Sync for DeviceError
impl Unpin for DeviceError
impl !UnwindSafe for DeviceError
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