[][src]Struct holochain_tracing::tracer_network::RjSpanContextState

pub struct RjSpanContextState { /* fields omitted */ }

Jaeger specific span context state.

Methods

impl SpanContextState[src]

pub fn trace_id(&self) -> TraceId[src]

Returns the trace identifier of this span.

pub fn span_id(&self) -> u64[src]

Returns the identifier of this span.

pub fn is_sampled(&self) -> bool[src]

Returns true if this span has been sampled (i.e., being traced).

pub fn debug_id(&self) -> Option<&str>[src]

Returns the debug identifier of this span if exists.

Trait Implementations

impl<T> ExtractFromTextMap<T> for SpanContextState where
    T: TextMap
[src]

impl Clone for SpanContextState[src]

impl<T> InjectToHttpHeader<T> for SpanContextState where
    T: SetHttpHeaderField
[src]

impl Debug for SpanContextState[src]

impl Display for SpanContextState[src]

impl<T> InjectToTextMap<T> for SpanContextState where
    T: TextMap
[src]

impl<T> InjectToBinary<T> for SpanContextState where
    T: Write
[src]

impl<'a, T> ExtractFromHttpHeader<'a, T> for SpanContextState where
    T: IterHttpHeaderFields<'a>, 
[src]

impl<'a> From<CandidateSpan<'a, SpanContextState>> for SpanContextState[src]

impl<T> ExtractFromBinary<T> for SpanContextState where
    T: Read
[src]

impl FromStr for SpanContextState[src]

type Err = Error

The associated error which can be returned from parsing.

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Error = !

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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