Struct rustracing::span::FinishedSpan
source · [−]pub struct FinishedSpan<T> { /* private fields */ }
Expand description
Finished span.
Implementations
sourceimpl<T> FinishedSpan<T>
impl<T> FinishedSpan<T>
sourcepub fn operation_name(&self) -> &str
pub fn operation_name(&self) -> &str
Returns the operation name of this span.
sourcepub fn start_time(&self) -> SystemTime
pub fn start_time(&self) -> SystemTime
Returns the start time of this span.
sourcepub fn finish_time(&self) -> SystemTime
pub fn finish_time(&self) -> SystemTime
Returns the finish time of this span.
Returns the tags of this span.
sourcepub fn references(&self) -> &[SpanReference<T>]
pub fn references(&self) -> &[SpanReference<T>]
Returns the references of this span.
sourcepub fn context(&self) -> &SpanContext<T>
pub fn context(&self) -> &SpanContext<T>
Returns the context of this span.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for FinishedSpan<T> where
T: RefUnwindSafe,
impl<T> Send for FinishedSpan<T> where
T: Send,
impl<T> Sync for FinishedSpan<T> where
T: Sync,
impl<T> Unpin for FinishedSpan<T> where
T: Unpin,
impl<T> UnwindSafe for FinishedSpan<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more