pub struct StringPool(/* private fields */);Expand description
A map from interned string IDs to their resolved string values.
Populated automatically by the Decoder as it processes StringPool frames.
Pass a reference to crate::TraceEvent::decode so that InternedString fields
resolve to &str in derived Ref types.
Implementations§
Trait Implementations§
Source§impl Clone for StringPool
impl Clone for StringPool
Source§fn clone(&self) -> StringPool
fn clone(&self) -> StringPool
Returns a duplicate 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 StringPool
impl Debug for StringPool
Source§impl Default for StringPool
impl Default for StringPool
Source§fn default() -> StringPool
fn default() -> StringPool
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StringPool
impl RefUnwindSafe for StringPool
impl Send for StringPool
impl Sync for StringPool
impl Unpin for StringPool
impl UnsafeUnpin for StringPool
impl UnwindSafe for StringPool
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