pub enum DeviceIdError {
BackendSpecific {
err: BackendSpecificError,
},
UnsupportedPlatform,
}Expand description
An error that may occur while attempting to retrieve a device ID.
Variants§
BackendSpecific
See the BackendSpecificError docs for more information about this error variant.
Fields
UnsupportedPlatform
Trait Implementations§
Source§impl Clone for DeviceIdError
impl Clone for DeviceIdError
Source§fn clone(&self) -> DeviceIdError
fn clone(&self) -> DeviceIdError
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 DeviceIdError
impl Debug for DeviceIdError
Source§impl Display for DeviceIdError
impl Display for DeviceIdError
Source§impl Error for DeviceIdError
impl Error for DeviceIdError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<BackendSpecificError> for DeviceIdError
impl From<BackendSpecificError> for DeviceIdError
Source§fn from(err: BackendSpecificError) -> Self
fn from(err: BackendSpecificError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DeviceIdError
impl PartialEq for DeviceIdError
impl Eq for DeviceIdError
impl StructuralPartialEq for DeviceIdError
Auto Trait Implementations§
impl Freeze for DeviceIdError
impl RefUnwindSafe for DeviceIdError
impl Send for DeviceIdError
impl Sync for DeviceIdError
impl Unpin for DeviceIdError
impl UnsafeUnpin for DeviceIdError
impl UnwindSafe for DeviceIdError
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