pub enum PciCapability {
Show 17 variants
PowerManagement(PciCapabilityAddress),
AcceleratedGraphicsPort(PciCapabilityAddress),
VitalProductData(PciCapabilityAddress),
SlotIdentification(PciCapabilityAddress),
Msi(MsiCapability),
CompactPCIHotswap(PciCapabilityAddress),
PciX(PciCapabilityAddress),
HyperTransport(PciCapabilityAddress),
Vendor(PciCapabilityAddress),
DebugPort(PciCapabilityAddress),
CompactPCICentralResourceControl(PciCapabilityAddress),
PciHotPlugControl(PciCapabilityAddress),
BridgeSubsystemVendorId(PciCapabilityAddress),
AGP3(PciCapabilityAddress),
PciExpress(PciCapabilityAddress),
MsiX(MsixCapability),
Unknown {
address: PciCapabilityAddress,
id: u8,
},
}
Expand description
PCI capabilities
Variants§
PowerManagement(PciCapabilityAddress)
Power management capability, Cap ID = 0x01
AcceleratedGraphicsPort(PciCapabilityAddress)
Accelerated graphics port capability, Cap ID = 0x02
VitalProductData(PciCapabilityAddress)
Vital product data capability, Cap ID = 0x3
SlotIdentification(PciCapabilityAddress)
Slot identification capability, Cap ID = 0x04
Msi(MsiCapability)
Message signalling interrupts capability, Cap ID = 0x05
CompactPCIHotswap(PciCapabilityAddress)
CompactPCI HotSwap capability, Cap ID = 0x06
PciX(PciCapabilityAddress)
PCI-X capability, Cap ID = 0x07
HyperTransport(PciCapabilityAddress)
HyperTransport capability, Cap ID = 0x08
Vendor(PciCapabilityAddress)
Vendor-specific capability, Cap ID = 0x09
DebugPort(PciCapabilityAddress)
Debug port capability, Cap ID = 0x0A
CompactPCICentralResourceControl(PciCapabilityAddress)
CompactPCI Central Resource Control capability, Cap ID = 0x0B
PciHotPlugControl(PciCapabilityAddress)
PCI Standard Hot-Plug Controller capability, Cap ID = 0x0C
BridgeSubsystemVendorId(PciCapabilityAddress)
Bridge subsystem vendor/device ID capability, Cap ID = 0x0D
AGP3(PciCapabilityAddress)
AGP Target PCI-PCI bridge capability, Cap ID = 0x0E
PciExpress(PciCapabilityAddress)
PCI Express capability, Cap ID = 0x10
MsiX(MsixCapability)
MSI-X capability, Cap ID = 0x11
Unknown
Unknown capability
Implementations§
Source§impl PciCapability
impl PciCapability
pub fn address(&self) -> PciCapabilityAddress
Trait Implementations§
Source§impl Clone for PciCapability
impl Clone for PciCapability
Source§fn clone(&self) -> PciCapability
fn clone(&self) -> PciCapability
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for PciCapability
impl Debug for PciCapability
impl Copy for PciCapability
Auto Trait Implementations§
impl Freeze for PciCapability
impl RefUnwindSafe for PciCapability
impl Send for PciCapability
impl Sync for PciCapability
impl Unpin for PciCapability
impl UnwindSafe for PciCapability
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)