pub struct FinishedSpan<T> { /* private fields */ }Expand description
Finished span.
Implementations§
Source§impl<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> Freeze for FinishedSpan<T>where
T: Freeze,
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more