[−][src]Struct probe_rs::coresight::memory::romtable::ComponentInformationReader
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]
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,
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.
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>,