Struct rustracing::span::FinishedSpan [−][src]
pub struct FinishedSpan<T> { /* fields omitted */ }
Finished span.
Methods
impl<T> FinishedSpan<T>
[src]
impl<T> FinishedSpan<T>
pub fn operation_name(&self) -> &str
[src]
pub fn operation_name(&self) -> &str
Returns the operation name of this span.
pub fn start_time(&self) -> SystemTime
[src]
pub fn start_time(&self) -> SystemTime
Returns the start time of this span.
pub fn finish_time(&self) -> SystemTime
[src]
pub fn finish_time(&self) -> SystemTime
Returns the finish time of this span.
pub fn logs(&self) -> &[Log]
[src]
pub fn logs(&self) -> &[Log]
Returns the logs recorded during this span.
Returns the tags of this span.
pub fn references(&self) -> &[SpanReference<T>]
[src]
pub fn references(&self) -> &[SpanReference<T>]
Returns the references of this span.
pub fn context(&self) -> &SpanContext<T>
[src]
pub fn context(&self) -> &SpanContext<T>
Returns the context of this span.
Trait Implementations
impl<T: Debug> Debug for FinishedSpan<T>
[src]
impl<T: Debug> Debug for FinishedSpan<T>
Auto Trait Implementations
impl<T> Send for FinishedSpan<T> where
T: Send,
impl<T> Send for FinishedSpan<T> where
T: Send,
impl<T> Sync for FinishedSpan<T> where
T: Sync,
impl<T> Sync for FinishedSpan<T> where
T: Sync,