Struct trace_recorder_parser::streaming::entry_table::EntryTable
source · pub struct EntryTable(/* private fields */);
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 entries(&self) -> &BTreeMap<ObjectHandle, Entry>
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 for EntryTable
impl PartialEq 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 for EntryTable
impl PartialOrd 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 moreimpl Eq for EntryTable
impl StructuralPartialEq for EntryTable
Auto Trait Implementations§
impl Freeze for EntryTable
impl RefUnwindSafe for EntryTable
impl Send for EntryTable
impl Sync for EntryTable
impl Unpin for EntryTable
impl UnwindSafe for EntryTable
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more