Trait pci_core::capabilities::PciCapability
source · pub trait PciCapability:
Send
+ Sync
+ Inspect
+ ProtobufSaveRestore {
// Required methods
fn label(&self) -> &str;
fn len(&self) -> usize;
fn read_u32(&self, offset: u16) -> u32;
fn write_u32(&mut self, offset: u16, val: u32);
fn reset(&mut self);
}
Expand description
A generic PCI configuration space capability structure.