[−][src]Struct holochain_tracing::tracer_network::RjSpanContextState
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]
T: TextMap,
fn extract_from_text_map(
carrier: &T
) -> Result<Option<SpanContext<SpanContextState>>, Error>
[src]
carrier: &T
) -> Result<Option<SpanContext<SpanContextState>>, Error>
impl Clone for SpanContextState
[src]
fn clone(&self) -> SpanContextState
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> InjectToHttpHeader<T> for SpanContextState where
T: SetHttpHeaderField,
[src]
T: SetHttpHeaderField,
fn inject_to_http_header(
context: &SpanContext<SpanContextState>,
carrier: &mut T
) -> Result<(), Error>
[src]
context: &SpanContext<SpanContextState>,
carrier: &mut T
) -> Result<(), Error>
impl Debug for SpanContextState
[src]
impl Display for SpanContextState
[src]
impl<T> InjectToBinary<T> for SpanContextState where
T: Write,
[src]
T: Write,
fn inject_to_binary(
context: &SpanContext<SpanContextState>,
carrier: &mut T
) -> Result<(), Error>
[src]
context: &SpanContext<SpanContextState>,
carrier: &mut T
) -> Result<(), Error>
impl<T> InjectToTextMap<T> for SpanContextState where
T: TextMap,
[src]
T: TextMap,
fn inject_to_text_map(
context: &SpanContext<SpanContextState>,
carrier: &mut T
) -> Result<(), Error>
[src]
context: &SpanContext<SpanContextState>,
carrier: &mut T
) -> Result<(), Error>
impl<'a, T> ExtractFromHttpHeader<'a, T> for SpanContextState where
T: IterHttpHeaderFields<'a>,
[src]
T: IterHttpHeaderFields<'a>,
fn extract_from_http_header(
carrier: &'a T
) -> Result<Option<SpanContext<SpanContextState>>, Error>
[src]
carrier: &'a T
) -> Result<Option<SpanContext<SpanContextState>>, Error>
impl<'a> From<CandidateSpan<'a, SpanContextState>> for SpanContextState
[src]
fn from(f: CandidateSpan<'a, SpanContextState>) -> SpanContextState
[src]
impl<T> ExtractFromBinary<T> for SpanContextState where
T: Read,
[src]
T: Read,
fn extract_from_binary(
carrier: &mut T
) -> Result<Option<SpanContext<SpanContextState>>, Error>
[src]
carrier: &mut T
) -> Result<Option<SpanContext<SpanContextState>>, Error>
impl FromStr for SpanContextState
[src]
Auto Trait Implementations
impl Send for SpanContextState
impl Sync for SpanContextState
impl Unpin for SpanContextState
impl UnwindSafe for SpanContextState
impl RefUnwindSafe for SpanContextState
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,