//! Injecting W3C trace-context headers onto an upstream request, the single
//! propagation choke point shared by the write, read, and query paths.
use ;
use Request;
use TraceContext;
/// Adds the proxy's `traceparent` and, when the request carried one, the caller's
/// `tracestate` (verbatim, the proxy adds no entry) to `req`. A `None` trace or a
/// header value that is not valid ASCII is silently skipped (propagation is
/// best-effort and never fails a request). Generic over the body type, it touches
/// only headers, so it serves both buffered and streamed upstream bodies.
pub