pub struct DownstreamPortInfo {
pub devfn: u8,
pub name: Arc<str>,
pub bus_range: AssignedBusRange,
}Expand description
Information about a downstream port in a PCIe topology.
Fields§
§devfn: u8The devfn (device << 3 | function) of this port on the root complex bus.
name: Arc<str>The port name.
bus_range: AssignedBusRangeShared bus range, updated by the config space emulator when the guest programs secondary/subordinate bus numbers.
Auto Trait Implementations§
impl Freeze for DownstreamPortInfo
impl RefUnwindSafe for DownstreamPortInfo
impl Send for DownstreamPortInfo
impl Sync for DownstreamPortInfo
impl Unpin for DownstreamPortInfo
impl UnsafeUnpin for DownstreamPortInfo
impl UnwindSafe for DownstreamPortInfo
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