pub struct GenericSwitchDefinition {
pub name: Arc<str>,
pub num_downstream_ports: u8,
pub parent_port: Arc<str>,
pub hotplug: bool,
}Expand description
A flat description of a PCIe switch without hierarchy.
Fields§
§name: Arc<str>The name of the switch.
num_downstream_ports: u8Number of downstream ports.
parent_port: Arc<str>The parent port this switch is connected to.
hotplug: boolWhether hotplug is enabled for this switch.
Implementations§
Auto Trait Implementations§
impl Freeze for GenericSwitchDefinition
impl RefUnwindSafe for GenericSwitchDefinition
impl Send for GenericSwitchDefinition
impl Sync for GenericSwitchDefinition
impl Unpin for GenericSwitchDefinition
impl UnwindSafe for GenericSwitchDefinition
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