pub enum PciInfoPropertyError {
Unsupported,
Error(Box<PciInfoError>),
}
Expand description
An error returned when trying to access a single property of a PCI device
Variants§
Unsupported
The required value is not supported by the current enumerator
Error(Box<PciInfoError>)
The enumerator encountered an error when trying to get the value for this property
Trait Implementations§
Source§impl Debug for PciInfoPropertyError
impl Debug for PciInfoPropertyError
Source§impl Display for PciInfoPropertyError
impl Display for PciInfoPropertyError
Source§impl Error for PciInfoPropertyError
impl Error for PciInfoPropertyError
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()
Auto Trait Implementations§
impl Freeze for PciInfoPropertyError
impl RefUnwindSafe for PciInfoPropertyError
impl Send for PciInfoPropertyError
impl Sync for PciInfoPropertyError
impl Unpin for PciInfoPropertyError
impl UnwindSafe for PciInfoPropertyError
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