Struct acpi::platform::PlatformInfo [−][src]
PlatformInfo
allows the collection of some basic information about the platform from some of the fixed-size
tables in a nice way. It requires access to the FADT
and MADT
. It is the easiest way to get information
about the processors and interrupt controllers on a platform.
Fields
power_profile: PowerProfile
interrupt_model: InterruptModel
processor_info: Option<ProcessorInfo>
On x86_64
platforms that support the APIC, the processor topology must also be inferred from the
interrupt model. That information is stored here, if present.
pm_timer: Option<PmTimer>
Implementations
impl PlatformInfo
[src]
pub fn new<H>(tables: &AcpiTables<H>) -> Result<PlatformInfo, AcpiError> where
H: AcpiHandler,
[src]
H: AcpiHandler,
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,