Enum pci_types::capability::PciCapability

source ·
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(PciCapabilityAddress), 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(PciCapabilityAddress)

MSI-X capability, Cap ID = 0x11

§

Unknown

Unknown capability

Fields

§id: u8

Trait Implementations§

source§

impl Clone for PciCapability

source§

fn clone(&self) -> PciCapability

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PciCapability

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.