pub trait PciExt {
// Required method
fn connect_to_pci(
&self,
instance: &str,
) -> Result<Client<Device>, DriverError>;
}Expand description
Extension trait for DriverContext to simplify connecting to PCI
resources.
Required Methods§
Sourcefn connect_to_pci(&self, instance: &str) -> Result<Client<Device>, DriverError>
fn connect_to_pci(&self, instance: &str) -> Result<Client<Device>, DriverError>
Connects to a PCI resource with the given instance name.