[][src]Struct coreboot_table::Header

#[repr(packed)]
pub struct Header {
    pub signature: [u8; 4],
    pub header_bytes: u32,
    pub header_checksum: u32,
    pub table_bytes: u32,
    pub table_checksum: u32,
    pub table_entries: u32,
}

Fields

signature: [u8; 4]header_bytes: u32header_checksum: u32table_bytes: u32table_checksum: u32table_entries: u32

Methods

impl Header[src]

pub fn is_valid(&self) -> bool[src]

Trait Implementations

impl Debug for Header[src]

Auto Trait Implementations

impl Unpin for Header

impl Send for Header

impl Sync for Header

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]