pub struct PciDeviceEnumerationError { /* private fields */ }
Expand description
A non-fatal error that impacted the enumeration of one or more devices.
Implementations§
Source§impl PciDeviceEnumerationError
impl PciDeviceEnumerationError
Sourcepub fn impact(&self) -> PciDeviceEnumerationErrorImpact
pub fn impact(&self) -> PciDeviceEnumerationErrorImpact
The impact of this error
Sourcepub fn error(&self) -> &PciInfoError
pub fn error(&self) -> &PciInfoError
The underlying error that caused this issue (same as
Error::source()
but more strongly typed)
Sourcepub fn location(&self) -> PciDeviceEnumerationErrorLocation
pub fn location(&self) -> PciDeviceEnumerationErrorLocation
The location where the issue occurred, if available. Note that errors often occur before a location can be determined.
Trait Implementations§
Source§impl Debug for PciDeviceEnumerationError
impl Debug for PciDeviceEnumerationError
Source§impl Display for PciDeviceEnumerationError
impl Display for PciDeviceEnumerationError
Source§impl Error for PciDeviceEnumerationError
impl Error for PciDeviceEnumerationError
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 PciDeviceEnumerationError
impl RefUnwindSafe for PciDeviceEnumerationError
impl Send for PciDeviceEnumerationError
impl Sync for PciDeviceEnumerationError
impl Unpin for PciDeviceEnumerationError
impl UnwindSafe for PciDeviceEnumerationError
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