opentelemetry::global

Function set_text_map_propagator

source
pub fn set_text_map_propagator<P: TextMapPropagator + Send + Sync + 'static>(
    propagator: P,
)
Expand description

Sets the given TextMapPropagator propagator as the current global propagator.