Struct opentracingrust::FinishedSpan
[−]
[src]
pub struct FinishedSpan { /* fields omitted */ }
A Span
that represents a finished operation.
The span can no longer be altered since the operation is finished.
Tracer
s must provide a way to submit FinishedSpan
a to the distributed tracer.
Methods
impl FinishedSpan
[src]
fn context(&self) -> &SpanContext
[src]
Access the operation's SpanContext
.
fn finish_time(&self) -> &SystemTime
[src]
Access the SystemTime
the Span
was finished.
fn name(&self) -> &String
[src]
Access the name of the operation.
fn references(&self) -> &Vec<SpanReference>
[src]
Access all the SpanContext
s and their relationship with this span.
fn start_time(&self) -> &SystemTime
[src]
Access the SystemTime
the Span
was started.
Trait Implementations
impl Clone for FinishedSpan
[src]
fn clone(&self) -> FinishedSpan
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more