Struct rustracing::span::CandidateSpan
source · [−]pub struct CandidateSpan<'a, T: 'a> { /* private fields */ }
Expand description
Candidate span for tracing.
Implementations
sourceimpl<'a, T: 'a> CandidateSpan<'a, T>
impl<'a, T: 'a> CandidateSpan<'a, T>
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 baggage_items(&self) -> &[BaggageItem]
pub fn baggage_items(&self) -> &[BaggageItem]
Returns the baggage items of this span.
Trait Implementations
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for CandidateSpan<'a, T> where
T: RefUnwindSafe,
impl<'a, T> Send for CandidateSpan<'a, T> where
T: Sync,
impl<'a, T> Sync for CandidateSpan<'a, T> where
T: Sync,
impl<'a, T> Unpin for CandidateSpan<'a, T>
impl<'a, T> UnwindSafe for CandidateSpan<'a, T> where
T: RefUnwindSafe,
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