pub enum DeviceInfoError {
XmlTooLarge,
XmlTooDeep,
InvalidXml,
UnsupportedObject,
DeviceMismatch,
InvalidField,
}Expand description
Stable failure categories. These carry no peer-provided identifiers or XML.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DeviceInfoError
impl Clone for DeviceInfoError
impl Copy for DeviceInfoError
Source§impl Debug for DeviceInfoError
impl Debug for DeviceInfoError
Source§impl Display for DeviceInfoError
impl Display for DeviceInfoError
impl Eq for DeviceInfoError
Source§impl Error for DeviceInfoError
impl Error for DeviceInfoError
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 PartialEq for DeviceInfoError
impl PartialEq for DeviceInfoError
impl StructuralPartialEq for DeviceInfoError
Auto Trait Implementations§
impl Freeze for DeviceInfoError
impl RefUnwindSafe for DeviceInfoError
impl Send for DeviceInfoError
impl Sync for DeviceInfoError
impl Unpin for DeviceInfoError
impl UnsafeUnpin for DeviceInfoError
impl UnwindSafe for DeviceInfoError
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