[][src]Struct probe_rs::coresight::memory::romtable::ComponentInformationReader

pub struct ComponentInformationReader<'p, P: MI> { /* fields omitted */ }

A reader to extract infromation from a CoreSight component table.

Methods

impl<'p, P: MI> ComponentInformationReader<'p, P>[src]

pub fn new(base_address: u64, probe: &'p RefCell<P>) -> Self[src]

Creates a new ComponentInformationReader.

pub fn component_class(&mut self) -> Result<CSComponentClass, RomTableError>[src]

Reads the component class from a component info table.

pub fn peripheral_id(&mut self) -> Result<PeripheralID, RomTableError>[src]

Reads the peripheral ID from a component info table.

pub fn read_all(&mut self) -> Result<CSComponentId, RomTableError>[src]

Reads all component properties from a component info table

Auto Trait Implementations

impl<'p, P> !RefUnwindSafe for ComponentInformationReader<'p, P>

impl<'p, P> !Send for ComponentInformationReader<'p, P>

impl<'p, P> !Sync for ComponentInformationReader<'p, P>

impl<'p, P> Unpin for ComponentInformationReader<'p, P>

impl<'p, P> !UnwindSafe for ComponentInformationReader<'p, P>

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 = Infallible

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.