pub enum PciError {
InvalidFormat,
InvalidHexValue,
InvalidIndentation,
UnexpectedEndOfInput,
VendorNotFound,
DeviceNotFound,
ClassNotFound,
SubclassNotFound,
ProgInterfaceNotFound,
}Expand description
Errors that can occur during PCI database parsing or querying.
Variants§
InvalidFormat
Invalid format in the PCI IDs file
InvalidHexValue
Invalid hexadecimal value
InvalidIndentation
Invalid indentation level
UnexpectedEndOfInput
Unexpected end of input
VendorNotFound
Vendor ID not found
DeviceNotFound
Device ID not found
ClassNotFound
Device class not found
SubclassNotFound
Subclass not found
ProgInterfaceNotFound
Programming interface not found
Trait Implementations§
impl Copy for PciError
impl Eq for PciError
impl StructuralPartialEq for PciError
Auto Trait Implementations§
impl Freeze for PciError
impl RefUnwindSafe for PciError
impl Send for PciError
impl Sync for PciError
impl Unpin for PciError
impl UnsafeUnpin for PciError
impl UnwindSafe for PciError
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