pub fn trace_context(headers: &BTreeMap<String, String>) -> Option<TraceContext>Expand description
The dispatch-time read: pull TRACEPARENT out of an envelope’s headers and parse
it, attaching TRACESTATE verbatim. None when the header is absent OR invalid —
the two are deliberately indistinguishable to callers (see parse_traceparent).