Struct trace_recorder_parser::streaming::entry_table::EntryTable
source · pub struct EntryTable(_);
Expand description
The address field of an entry is the key. This is either an object address (task, queue, etc) or the address of the entry “slot” in memory (self-referential, i.e. user event strings).
Implementations§
source§impl EntryTable
impl EntryTable
pub fn symbol(&self, handle: ObjectHandle) -> Option<&SymbolString>
pub fn class(&self, handle: ObjectHandle) -> Option<ObjectClass>
pub fn symbol_handle<S: AsRef<str>>( &self, symbol: S, class: Option<ObjectClass> ) -> Option<ObjectHandle>
Trait Implementations§
source§impl Clone for EntryTable
impl Clone for EntryTable
source§fn clone(&self) -> EntryTable
fn clone(&self) -> EntryTable
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EntryTable
impl Debug for EntryTable
source§impl Default for EntryTable
impl Default for EntryTable
source§impl Hash for EntryTable
impl Hash for EntryTable
source§impl Ord for EntryTable
impl Ord for EntryTable
source§fn cmp(&self, other: &EntryTable) -> Ordering
fn cmp(&self, other: &EntryTable) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<EntryTable> for EntryTable
impl PartialEq<EntryTable> for EntryTable
source§fn eq(&self, other: &EntryTable) -> bool
fn eq(&self, other: &EntryTable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<EntryTable> for EntryTable
impl PartialOrd<EntryTable> for EntryTable
source§fn partial_cmp(&self, other: &EntryTable) -> Option<Ordering>
fn partial_cmp(&self, other: &EntryTable) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more