Struct opentelemetry::sdk::propagation::TraceContextPropagator
source · [−]pub struct TraceContextPropagator { /* private fields */ }
This is supported on crate feature
trace
only.Expand description
Propagates SpanContext
s in W3C TraceContext format.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Properly encodes the values of the SpanContext
and injects them
into the Injector
.
Retrieves encoded SpanContext
s using the Extractor
. It decodes
the SpanContext
and returns it. If no SpanContext
was retrieved
OR if the retrieved SpanContext is invalid then an empty SpanContext
is returned.
Returns iter of fields used by TextMapPropagator
Read more
Auto Trait Implementations
impl RefUnwindSafe for TraceContextPropagator
impl Send for TraceContextPropagator
impl Sync for TraceContextPropagator
impl Unpin for TraceContextPropagator
impl UnwindSafe for TraceContextPropagator
Blanket Implementations
Mutably borrows from an owned value. Read more