pub struct GenericPcieSwitchDefinition {
pub name: Arc<str>,
pub downstream_port_count: u8,
pub hotplug: bool,
pub msi_target: MsiTarget,
pub dsp_settings: PciePortSettings,
}Expand description
A PCI Express switch definition used for creating switch instances.
Fields§
§name: Arc<str>The name of the switch.
downstream_port_count: u8The number of downstream ports to create. TODO: implement physical slot number, link and slot stuff
hotplug: boolWhether hotplug is enabled for this switch’s downstream ports.
msi_target: MsiTargetMSI target from the parent connection. The switch re-derives per-port targets using the upstream port’s bus range.
dsp_settings: PciePortSettingsExpress-level settings for downstream switch ports.
Auto Trait Implementations§
impl Freeze for GenericPcieSwitchDefinition
impl !RefUnwindSafe for GenericPcieSwitchDefinition
impl Send for GenericPcieSwitchDefinition
impl Sync for GenericPcieSwitchDefinition
impl Unpin for GenericPcieSwitchDefinition
impl UnsafeUnpin for GenericPcieSwitchDefinition
impl !UnwindSafe for GenericPcieSwitchDefinition
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