[][src]Struct opentracing_rs::SpanContext

pub struct SpanContext<S> { /* fields omitted */ }

Methods

impl<S> SpanContext<S>[src]

pub fn new(state: S, baggage_items: Vec<BaggageItem>) -> SpanContext<S>[src]

pub fn state(&self) -> &S[src]

pub fn baggage_items(&self) -> &Vec<BaggageItem>[src]

Trait Implementations

impl<S> Debug for SpanContext<S> where
    S: Debug
[src]

Auto Trait Implementations

impl<S> Send for SpanContext<S> where
    S: Send

impl<S> Sync for SpanContext<S> where
    S: Sync

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Erased for T