struct HotPlugStub {
hotplug_buses: BTreeMap<u8, Arc<Mutex<dyn HotPlugBus>>>,
iommu_bus_ranges: Vec<RangeInclusive<u32>>,
pme_notify_devs: BTreeMap<u8, Arc<Mutex<dyn PmeNotify>>>,
}Expand description
Collection of devices related to PCI hotplug.
Fields§
§hotplug_buses: BTreeMap<u8, Arc<Mutex<dyn HotPlugBus>>>Map from bus index to hotplug bus.
iommu_bus_ranges: Vec<RangeInclusive<u32>>Bus ranges of devices for virtio-iommu.
pme_notify_devs: BTreeMap<u8, Arc<Mutex<dyn PmeNotify>>>Map from bus index to PmeNotify devices.
Implementations§
Source§impl HotPlugStub
impl HotPlugStub
Auto Trait Implementations§
impl Freeze for HotPlugStub
impl RefUnwindSafe for HotPlugStub
impl Send for HotPlugStub
impl Sync for HotPlugStub
impl Unpin for HotPlugStub
impl UnwindSafe for HotPlugStub
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more