Struct sc_tracing::SpanDatum [−][src]
pub struct SpanDatum {
pub id: Id,
pub parent_id: Option<Id>,
pub name: String,
pub target: String,
pub level: Level,
pub line: u32,
pub start_time: Instant,
pub overall_time: Duration,
pub values: Values,
}Represents a single instance of a tracing span
Fields
id: Idid for this span
parent_id: Option<Id>id of the parent span, if any
name: StringName of this span
target: StringTarget, typically module
level: LevelTracing Level - ERROR, WARN, INFO, DEBUG or TRACE
line: u32Line number in source
start_time: InstantTime that the span was last entered
overall_time: DurationTotal duration of span while entered
values: ValuesValues recorded to this span
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SpanDatum
impl Send for SpanDatum
impl Sync for SpanDatum
impl Unpin for SpanDatum
impl UnwindSafe for SpanDatum
Blanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]