pub enum MultipleMessageSupport {
Int1 = 0,
Int2 = 1,
Int4 = 2,
Int8 = 3,
Int16 = 4,
Int32 = 5,
}
Expand description
Specifies how many MSI interrupts one device can have. Device will modify lower bits of interrupt vector to send multiple messages, so interrupt block must be aligned accordingly.
Variants§
Int1 = 0
Device can send 1 interrupt. No interrupt vector modification is happening here
Int2 = 1
Device can send 2 interrupts
Int4 = 2
Device can send 4 interrupts
Int8 = 3
Device can send 8 interrupts
Int16 = 4
Device can send 16 interrupts
Int32 = 5
Device can send 32 interrupts
Trait Implementations§
Source§impl Clone for MultipleMessageSupport
impl Clone for MultipleMessageSupport
Source§fn clone(&self) -> MultipleMessageSupport
fn clone(&self) -> MultipleMessageSupport
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MultipleMessageSupport
impl Debug for MultipleMessageSupport
Source§impl Ord for MultipleMessageSupport
impl Ord for MultipleMessageSupport
Source§fn cmp(&self, other: &MultipleMessageSupport) -> Ordering
fn cmp(&self, other: &MultipleMessageSupport) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MultipleMessageSupport
impl PartialEq for MultipleMessageSupport
Source§impl PartialOrd for MultipleMessageSupport
impl PartialOrd for MultipleMessageSupport
Source§impl TryFrom<u8> for MultipleMessageSupport
impl TryFrom<u8> for MultipleMessageSupport
impl Copy for MultipleMessageSupport
impl Eq for MultipleMessageSupport
impl StructuralPartialEq for MultipleMessageSupport
Auto Trait Implementations§
impl Freeze for MultipleMessageSupport
impl RefUnwindSafe for MultipleMessageSupport
impl Send for MultipleMessageSupport
impl Sync for MultipleMessageSupport
impl Unpin for MultipleMessageSupport
impl UnwindSafe for MultipleMessageSupport
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