Enum dmar::DmarEntry

source ·
pub enum DmarEntry<'t> {
    Drhd(DmarDrhd<'t>),
    Rmrr(&'t DmarRmrr),
    Atsr(&'t DmarAtsr),
    Rhsa(&'t DmarRhsa),
    Andd(&'t DmarAndd),
    Satc(&'t DmarSatc),
    UnknownOrCorrupt(DmarEntryRecord),
}
Expand description

The set of possible sub-tables that can exist in the top-level DMAR table.

The types of sub-tables are described in Section 8.2 of the VT Directed I/O Spec.

Variants§

§

Drhd(DmarDrhd<'t>)

§

Rmrr(&'t DmarRmrr)

§

Atsr(&'t DmarAtsr)

§

Rhsa(&'t DmarRhsa)

§

Andd(&'t DmarAndd)

§

Satc(&'t DmarSatc)

§

UnknownOrCorrupt(DmarEntryRecord)

The DMAR table had an entry of an unknown type or mismatched length, so the table entry was malformed and unusable. The entry type ID is included.

Trait Implementations§

source§

impl<'t> Debug for DmarEntry<'t>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'t> RefUnwindSafe for DmarEntry<'t>

§

impl<'t> Send for DmarEntry<'t>

§

impl<'t> Sync for DmarEntry<'t>

§

impl<'t> Unpin for DmarEntry<'t>

§

impl<'t> UnwindSafe for DmarEntry<'t>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.