pub struct GenericPcieSwitchDefinition {
pub name: Arc<str>,
pub downstream_port_count: u8,
pub hotplug: bool,
}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.
Auto Trait Implementations§
impl Freeze for GenericPcieSwitchDefinition
impl RefUnwindSafe for GenericPcieSwitchDefinition
impl Send for GenericPcieSwitchDefinition
impl Sync for GenericPcieSwitchDefinition
impl Unpin 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