pub struct TraceContext {
pub component: &'static str,
pub details: Vec<(&'static str, &'static str)>,
}
Expand description
Trace context
Fields§
§component: &'static str
Component name related to the trace message
details: Vec<(&'static str, &'static str)>
Additional static key/value fields for context
Trait Implementations§
Source§impl Debug for TraceContext
impl Debug for TraceContext
Source§impl Default for TraceContext
impl Default for TraceContext
Source§fn default() -> TraceContext
fn default() -> TraceContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TraceContext
impl RefUnwindSafe for TraceContext
impl Send for TraceContext
impl Sync for TraceContext
impl Unpin for TraceContext
impl UnwindSafe for TraceContext
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