[][src]Struct opentelemetry::sdk::propagation::TextMapCompositePropagator

pub struct TextMapCompositePropagator { /* fields omitted */ }

Composite propagator

Implementations

impl TextMapCompositePropagator[src]

pub fn new(propagators: Vec<Box<dyn TextMapPropagator + Send + Sync>>) -> Self[src]

Constructs a new propagator out of instances of TextMapPropagator.

Trait Implementations

impl Debug for TextMapCompositePropagator[src]

impl TextMapPropagator for TextMapCompositePropagator[src]

fn inject_context(&self, context: &Context, injector: &mut dyn Injector)[src]

Encodes the values of the Context and injects them into the Injector.

fn extract_with_context(
    &self,
    cx: &Context,
    extractor: &dyn Extractor
) -> Context
[src]

Retrieves encoded Context information using the Extractor. If no data was retrieved OR if the retrieved data is invalid, then the current Context is returned.

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

type Error = Infallible

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<V, T> VZip<V> for T where
    V: MultiLane<T>,