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: 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

Tracing Level - ERROR, WARN, INFO, DEBUG or TRACE

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

impl Send for SpanDatum

impl Sync for SpanDatum

impl Unpin for SpanDatum

impl UnwindSafe for SpanDatum

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

type Output = T

Should always be Self

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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>, 
[src]