[][src]Struct dtb::Reader

pub struct Reader<'a> { /* fields omitted */ }

DTB blob reader.

Methods

impl<'a> Reader<'a>[src]

pub fn read(blob: &'a [u8]) -> Result<Self>[src]

Reads a given DTB blob and returns a corresponding reader.

pub unsafe fn read_from_address(addr: usize) -> Result<Self>[src]

Reads DTB from a given address and returns a corresponding reader.

Important traits for ReservedMemEntries<'a>
pub fn reserved_mem_entries(&self) -> ReservedMemEntries<'a>[src]

Returns a reserved memory entry iterator.

Important traits for StructItems<'a>
pub fn struct_items(&self) -> StructItems<'a>[src]

Returns a structure item iterator.

Trait Implementations

impl<'a> Debug for Reader<'a>[src]

Auto Trait Implementations

impl<'a> Send for Reader<'a>

impl<'a> Sync for Reader<'a>

impl<'a> Unpin for Reader<'a>

Blanket Implementations

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

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

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

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

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

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

type Error = !

The type returned in the event of a conversion error.

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.