pub fn current_dist_trace_ctx<SpanId, TraceId>() -> Result<(TraceId, SpanId), TraceCtxError>
Expand description
Retrieve the distributed trace context associated with the current span. Returns the
TraceId
, if any, that the current span is associated with along with the SpanId
belonging to the current span.