pub trait PciePortVariant: Send {
    // Required methods
    fn get_pcie_port(&self) -> &PciePort;
    fn get_pcie_port_mut(&mut self) -> &mut PciePort;
    fn get_removed_devices_impl(&self) -> Vec<PciAddress>;
    fn hotplug_implemented_impl(&self) -> bool;
    fn hotplugged_impl(&self) -> bool;
}Expand description
Helper trait for implementing PcieDevice where most functions are proxied directly to a PciePort instance.
Required Methods§
fn get_pcie_port(&self) -> &PciePort
fn get_pcie_port_mut(&mut self) -> &mut PciePort
sourcefn get_removed_devices_impl(&self) -> Vec<PciAddress>
 
fn get_removed_devices_impl(&self) -> Vec<PciAddress>
Called via PcieDevice.get_removed_devices
sourcefn hotplug_implemented_impl(&self) -> bool
 
fn hotplug_implemented_impl(&self) -> bool
Called via PcieDevice.hotplug_implemented
sourcefn hotplugged_impl(&self) -> bool
 
fn hotplugged_impl(&self) -> bool
Called via PcieDevice.hotplug