Function pci::pci_device_iter
source · pub fn pci_device_iter(
) -> Result<impl Iterator<Item = &'static PciDevice>, &'static str>
Expand description
Returns an iterator that iterates over all PciDevice
s, in no particular guaranteed order.
If the PCI bus hasn’t been initialized, this initializes the PCI bus & scans it to enumerates devices.