pub struct PciInterruptMechanism<'a> { /* private fields */ }
Expand description

Gives you control over a PCI device’s specific interrupt mechanism, which may be INTx, MSI, or MSI-X.

Implementations

Maximum number of vectors that may be enabled for this particular interrupt mechanism.

Enables vectors 0 through eventfds.len() - 1 of this particular interrupt mechanism.

Fails if eventfds.len() > self.max().

Disables all enabled vectors of this particular interrupt mechanism.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.