[][src]Struct sc_tracing::SpanDatum

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


id: Id

id for this span

parent_id: Option<Id>

id of the parent span, if any

name: String

Name of this span

target: String

Target, typically module

level: Level


line: u32

Line number in source

start_time: Instant

Time that the span was last entered

overall_time: Duration

Total duration of span while entered

values: Values

Values recorded to this span

Trait Implementations

impl Debug for SpanDatum[src]

Auto Trait Implementations

impl RefUnwindSafe for SpanDatum[src]

impl Send for SpanDatum[src]

impl Sync for SpanDatum[src]

impl Unpin for SpanDatum[src]

impl UnwindSafe for SpanDatum[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,