[][src]Struct opentracingrust::FinishedSpan

pub struct FinishedSpan { /* fields omitted */ }

A Span that represents a finished operation.

The span can no longer be altered since the operation is finished. Tracers must provide a way to submit FinishedSpana to the distributed tracer.

Methods

impl FinishedSpan[src]

pub fn context(&self) -> &SpanContext[src]

Access the operation's SpanContext.

pub fn finish_time(&self) -> &SystemTime[src]

Access the SystemTime the Span was finished.

pub fn logs(&self) -> &Vec<Log>[src]

Access the logs attached to this span.

pub fn name(&self) -> &String[src]

Access the name of the operation.

pub fn references(&self) -> &Vec<SpanReference>[src]

Access all the SpanContexts and their relationship with this span.

pub fn start_time(&self) -> &SystemTime[src]

Access the SystemTime the Span was started.

pub fn tags(&self) -> &SpanTags[src]

Access the tags attached to this span.

Trait Implementations

impl Debug for FinishedSpan[src]

Auto Trait Implementations

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, U> Into<U> for T where
    U: From<T>, 
[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>,