pub struct PciInterrupts<'a> { /* private fields */ }
Expand description
Gives you control over a PCI device’s interrupt mechanisms: INTx, MSI, and MSI-X.
Each device may only support a subset of these mechanisms. The PciInterruptMechanism::max
method returns 0 for unsupported mechanisms.
Implementations§
Source§impl PciInterrupts<'_>
impl PciInterrupts<'_>
Sourcepub fn intx(&self) -> PciInterruptMechanism<'_>
pub fn intx(&self) -> PciInterruptMechanism<'_>
Returns a thing that gives you control over a PCI device’s INTx interrupts.
Sourcepub fn msi(&self) -> PciInterruptMechanism<'_>
pub fn msi(&self) -> PciInterruptMechanism<'_>
Returns a thing that gives you control over a PCI device’s MSI interrupts.
Sourcepub fn msi_x(&self) -> PciInterruptMechanism<'_>
pub fn msi_x(&self) -> PciInterruptMechanism<'_>
Returns a thing that gives you control over a PCI device’s MSI-X interrupts.
Auto Trait Implementations§
impl<'a> Freeze for PciInterrupts<'a>
impl<'a> !RefUnwindSafe for PciInterrupts<'a>
impl<'a> Send for PciInterrupts<'a>
impl<'a> Sync for PciInterrupts<'a>
impl<'a> Unpin for PciInterrupts<'a>
impl<'a> !UnwindSafe for PciInterrupts<'a>
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