pub struct MsiAllocation {
pub cookie: u32,
pub address: u64,
pub data: u32,
}Expand description
One MSI message allocated through interrupt remapping.
Fields§
Opaque cookie for Backend::free_msi (0 is invalid).
address: u64Message address the device must write to.
data: u32Message data (0 when delivered through an IRTE doorbell).
Trait Implementations§
Source§impl Clone for MsiAllocation
impl Clone for MsiAllocation
impl Copy for MsiAllocation
Source§impl Debug for MsiAllocation
impl Debug for MsiAllocation
impl Eq for MsiAllocation
Source§impl PartialEq for MsiAllocation
impl PartialEq for MsiAllocation
impl StructuralPartialEq for MsiAllocation
Auto Trait Implementations§
impl Forget for MsiAllocation
impl Freeze for MsiAllocation
impl Move for MsiAllocation
impl RefUnwindSafe for MsiAllocation
impl Send for MsiAllocation
impl Sync for MsiAllocation
impl Unpin for MsiAllocation
impl UnsafeUnpin for MsiAllocation
impl UnwindSafe for MsiAllocation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more