Struct opentracing_rs_core::SpanContext
source · pub struct SpanContext<S> { /* private fields */ }
Implementations
sourceimpl<S> SpanContext<S>
impl<S> SpanContext<S>
pub fn new(state: S, baggage_items: Vec<BaggageItem>) -> Self
pub fn state(&self) -> &S
pub fn baggage_items(&self) -> &Vec<BaggageItem>
Trait Implementations
Auto Trait Implementations
impl<S> RefUnwindSafe for SpanContext<S>where
S: RefUnwindSafe,
impl<S> Send for SpanContext<S>where
S: Send,
impl<S> Sync for SpanContext<S>where
S: Sync,
impl<S> Unpin for SpanContext<S>where
S: Unpin,
impl<S> UnwindSafe for SpanContext<S>where
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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