pub struct ItsSignalMsi { /* private fields */ }Expand description
A [SignalMsi] wrapper that prepends the PCI segment to the BDF,
producing the ITS device ID.
When devid is Some(bdf), the ITS device ID is
(segment << 16) | (bdf & 0xFFFF).
In the normal flow this wrapper is invoked via
MsiTarget::signal_msi or
MsiTarget::signal_msi_with_rid,
both of which always pass Some(bdf), so the None arm is
unreachable. It is retained as a defensive guard for direct trait
callers that have no BDF to provide.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ItsSignalMsi
impl !RefUnwindSafe for ItsSignalMsi
impl Send for ItsSignalMsi
impl Sync for ItsSignalMsi
impl Unpin for ItsSignalMsi
impl UnsafeUnpin for ItsSignalMsi
impl !UnwindSafe for ItsSignalMsi
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