pub enum PciClassCode {
Show 18 variants
TooOld = 0,
MassStorage = 1,
NetworkController = 2,
DisplayController = 3,
MultimediaController = 4,
MemoryController = 5,
BridgeDevice = 6,
SimpleCommunicationController = 7,
BaseSystemPeripheral = 8,
InputDevice = 9,
DockingStation = 10,
Processor = 11,
SerialBusController = 12,
WirelessController = 13,
IntelligentIoController = 14,
EncryptionController = 15,
DataAcquisitionSignalProcessing = 16,
Other = 255,
}Expand description
Classes of PCI nodes.
Variants§
TooOld = 0
MassStorage = 1
NetworkController = 2
DisplayController = 3
MultimediaController = 4
MemoryController = 5
BridgeDevice = 6
SimpleCommunicationController = 7
BaseSystemPeripheral = 8
InputDevice = 9
DockingStation = 10
Processor = 11
SerialBusController = 12
WirelessController = 13
IntelligentIoController = 14
EncryptionController = 15
DataAcquisitionSignalProcessing = 16
Other = 255
Implementations§
Source§impl PciClassCode
impl PciClassCode
pub fn get_register_value(self) -> u8
Trait Implementations§
Source§impl Clone for PciClassCode
impl Clone for PciClassCode
Source§fn clone(&self) -> PciClassCode
fn clone(&self) -> PciClassCode
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 moreimpl Copy for PciClassCode
Auto Trait Implementations§
impl Freeze for PciClassCode
impl RefUnwindSafe for PciClassCode
impl Send for PciClassCode
impl Sync for PciClassCode
impl Unpin for PciClassCode
impl UnwindSafe for PciClassCode
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