pub struct IommuGroup {
pub id: u32,
pub segment: u16,
pub bus: u8,
pub devices: Vec<Sbdf>,
}Expand description
Coarse IOMMU groups derived from the DMAR DRHD scopes.
This is not a full PCIe ACS analysis: devices sharing a DRHD and a bus are reported together, which is enough to warn a caller that two functions cannot be isolated from each other.
Fields§
§id: u32§segment: u16§bus: u8§devices: Vec<Sbdf>Trait Implementations§
Source§impl Clone for IommuGroup
impl Clone for IommuGroup
Source§impl Debug for IommuGroup
impl Debug for IommuGroup
impl Eq for IommuGroup
Source§impl PartialEq for IommuGroup
impl PartialEq for IommuGroup
impl StructuralPartialEq for IommuGroup
Auto Trait Implementations§
impl Forget for IommuGroup
impl Freeze for IommuGroup
impl Move for IommuGroup
impl RefUnwindSafe for IommuGroup
impl Send for IommuGroup
impl Sync for IommuGroup
impl Unpin for IommuGroup
impl UnsafeUnpin for IommuGroup
impl UnwindSafe for IommuGroup
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