Enum zircon_object::dev::PcieIrqMode[][src]

#[repr(u32)]pub enum PcieIrqMode {
    Disabled,
    Legacy,
    Msi,
    MsiX,
    Count,
}

Enumeration which defines the IRQ modes a PCIe device may be operating in.

Variants

Disabled

All IRQs are disabled. 0 total IRQs are supported in this mode.

Legacy

Devices may support up to 1 legacy IRQ in total. Exclusive IRQ access cannot be guaranteed (the IRQ may be shared with other devices)

Msi

Devices may support up to 32 MSI IRQs in total. IRQs may be allocated exclusively, resources permitting.

MsiX

Devices may support up to 2048 MSI-X IRQs in total. IRQs may be allocated exclusively, resources permitting.

Count

Trait Implementations

impl Clone for PcieIrqMode[src]

impl Copy for PcieIrqMode[src]

impl Debug for PcieIrqMode[src]

impl Default for PcieIrqMode[src]

impl Eq for PcieIrqMode[src]

impl PartialEq<PcieIrqMode> for PcieIrqMode[src]

impl StructuralEq for PcieIrqMode[src]

impl StructuralPartialEq for PcieIrqMode[src]

impl TryFrom<u32> for PcieIrqMode[src]

type Error = u32

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for PcieIrqMode

impl Send for PcieIrqMode

impl Sync for PcieIrqMode

impl Unpin for PcieIrqMode

impl UnwindSafe for PcieIrqMode

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.