PciCapability

Trait PciCapability 

Source
pub trait PciCapability {
    // Required methods
    fn bytes(&self) -> &[u8] ;
    fn id(&self) -> PciCapabilityId;
}
Expand description

A PCI capability list. Devices can optionally specify capabilities in their configuration space.

Required Methods§

Source

fn bytes(&self) -> &[u8]

Bytes of the PCI capability

Source

fn id(&self) -> PciCapabilityId

Id of the PCI capability

Implementors§