Struct sc_tracing::TraceEvent
source · [−]pub struct TraceEvent {
pub name: &'static str,
pub target: String,
pub level: Level,
pub values: Values,
pub parent_id: Option<Id>,
}
Expand description
Represents a tracing event, complete with values
Fields
name: &'static str
Name of the event.
target: String
Target of the event.
level: Level
Level of the event.
values: Values
Values for this event.
parent_id: Option<Id>
Id of the parent tracing event, if any.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TraceEvent
impl Send for TraceEvent
impl Sync for TraceEvent
impl Unpin for TraceEvent
impl UnwindSafe for TraceEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more