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
sourceimpl Debug for DeviceError
impl Debug for DeviceError
sourceimpl Display for DeviceError
impl Display for DeviceError
sourceimpl Error for DeviceError
impl Error for DeviceError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<Error> for DeviceError
impl From<Error> for DeviceError
sourceimpl From<Error> for DeviceError
impl From<Error> for DeviceError
sourceimpl From<ParseIntError> for DeviceError
impl From<ParseIntError> for DeviceError
sourcefn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
sourceimpl From<TryFromIntError> for DeviceError
impl From<TryFromIntError> for DeviceError
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more