Trait opentelemetry::propagation::TextMapPropagator
source · [−]pub trait TextMapPropagator: Debug {
fn inject_context(&self, cx: &Context, injector: &mut dyn Injector);
fn extract_with_context(
&self,
cx: &Context,
extractor: &dyn Extractor
) -> Context;
fn fields(&self) -> FieldIter<'_>ⓘNotable traits for FieldIter<'a>impl<'a> Iterator for FieldIter<'a> type Item = &'a str;
;
fn inject(&self, injector: &mut dyn Injector) { ... }
fn extract(&self, extractor: &dyn Extractor) -> Context { ... }
}
Expand description
Methods to inject and extract a value as text into injectors and extractors that travel in-band across process boundaries.