pub struct CandidateSpan<'a, T: 'a> { /* private fields */ }Expand description
Candidate span for tracing.
Implementations§
Source§impl<'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> Freeze for CandidateSpan<'a, T>
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§
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