pub struct AcpiTableHeader<'a>(/* private fields */);
Expand description
Master ACPI Table Header. This common header is used by all ACPI tables except the RSDP and FACS.
For more info on individual fields, see the ACPI spec
Implementations§
Source§impl<'a> AcpiTableHeader<'a>
impl<'a> AcpiTableHeader<'a>
Sourcepub fn signature(&self) -> &str
pub fn signature(&self) -> &str
The table’s signature. This is a 4-byte ASCII string indicating what kind of data the table contains.
Sourcepub fn checksum(&self) -> u8
pub fn checksum(&self) -> u8
The table’s checksum. This byte is set to make all the bytes in the table sum to 0 (mod 0xff)
Sourcepub fn oem_table_id(&self) -> &str
pub fn oem_table_id(&self) -> &str
An OEM-provided string to identify this particular instance of a table
Sourcepub fn oem_revision(&self) -> u32
pub fn oem_revision(&self) -> u32
The table’s revision number (larger is newer)
Sourcepub fn creator_id(&self) -> &str
pub fn creator_id(&self) -> &str
An ASCII string identifying the tool used to create the table. If the table contains AML code, this identifies the ASL compiler.
Sourcepub fn creator_revision(&self) -> u32
pub fn creator_revision(&self) -> u32
The revision number of the tool used to create the table (larger is newer) If the table contains AML code, this is the revision number of the ASL compiler.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AcpiTableHeader<'a>
impl<'a> RefUnwindSafe for AcpiTableHeader<'a>
impl<'a> Send for AcpiTableHeader<'a>
impl<'a> Sync for AcpiTableHeader<'a>
impl<'a> Unpin for AcpiTableHeader<'a>
impl<'a> UnwindSafe for AcpiTableHeader<'a>
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