pub enum CapabilityId {
Show 23 variants Null, PowerManagement, Agp, Vdp, SlotIdent, Msi, CompactPci, PciX, HyperTransport, VendorSpecific, DebugPort, CompactPCI, HotPlug, BridgeSubsystemVendor, Agp8, SecureDevice, PCIExpress, MsiX, SerialAtaConfiguration, AdvancedFeatures, EnhancedAllocation, FlatteningPortalBridge, Unknown(u8),
}

Variants§

§

Null

Null Capability

This capability contains no registers other than those described below. It may be present in any Function. Functions may contain multiple instances of this capability. The Null Capability is 16 bits and contains an 8-bit Capability ID followed by an 8-bit Next Capability Pointer.

§

PowerManagement

PCI Power Management Interface

This Capability structure provides a standard interface to control power management features in a device Function. It is fully documented in the PCI Bus Power Management Interface Specification.

§

Agp

AGP

This Capability structure identifies a controller that is capable of using Accelerated Graphics Port features. Full documentation can be found in the Accelerated Graphics Port Interface Specification.

§

Vdp

VPD

This Capability structure identifies a device Function that supports Vital Product Data. Full documentation of this feature can be found in the PCI Local Bus Specification.

§

SlotIdent

Slot Identification

This Capability structure identifies a bridge that provides external expansion capabilities. Full documentation of this feature can be found in the PCI-to-PCI Bridge Architecture Specification.

§

Msi

Message Signaled Interrupts

This Capability structure identifies a device Function that can do message signaled interrupt delivery. Full documentation of this feature can be found in the PCI Local Bus Specification.

§

CompactPci

CompactPCI Hot Swap

This Capability structure provides a standard interface to control and sense status within a device that supports Hot Swap insertion and extraction in a CompactPCI system. This Capability is documented in the CompactPCI Hot Swap Specification PICMG 2.1, R1.0 available at http://www.picmg.org.

§

PciX

PCI-X

Refer to the PCI-X Protocol Addendum to the PCI Local Bus Specification for details.

§

HyperTransport

HyperTransport

This Capability structure provides control and status for devices that implement HyperTransport Technology links. For details, refer to the HyperTransport I/O Link Specification available at http://www.hypertransport.org.

§

VendorSpecific

Vendor Specific

This Capability structure allows device vendors to use the Capability mechanism to expose vendor-specific registers. The byte immediately following the Next Pointer in the Capability structure is defined to be a length field. This length field provides the number of bytes in the Capability structure (including the Capability ID and Next Pointer bytes). All remaining bytes in the capability structure are vendor-specific.

§

DebugPort

Debug port

§

CompactPCI

CompactPCI central resource control

Definition of this Capability can be found in the PICMG 2.13 Specification (http://www.picmg.com).

§

HotPlug

PCI Hot-Plug

This Capability ID indicates that the associated device conforms to the Standard Hot-Plug Controller model.

§

BridgeSubsystemVendor

PCI Bridge Subsystem Vendor ID

§

Agp8

AGP 8x

§

SecureDevice

Secure Device

§

PCIExpress

PCI Express

§

MsiX

MSI-X

This Capability ID identifies an optional extension to the basic MSI functionality.

§

SerialAtaConfiguration

Serial ATA Data/Index Configuration

§

AdvancedFeatures

Advanced Features (AF)

Full documentation of this feature can be found in the Advanced Capabilities for Conventional PCI ECN.

§

EnhancedAllocation

Enhanced Allocation

§

FlatteningPortalBridge

Flattening Portal Bridge

§

Unknown(u8)

Reserved

Trait Implementations§

source§

impl Clone for CapabilityId

source§

fn clone(&self) -> CapabilityId

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 CapabilityId

source§

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

Formats the value using the given formatter. Read more
source§

impl From<u8> for CapabilityId

source§

fn from(capid: u8) -> Self

Converts to this type from the input type.
source§

impl PartialEq<CapabilityId> for CapabilityId

source§

fn eq(&self, other: &CapabilityId) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for CapabilityId

source§

impl Eq for CapabilityId

source§

impl StructuralEq for CapabilityId

source§

impl StructuralPartialEq for CapabilityId

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.