pub fn get_span_context(trace_context: &TraceContext) -> Context
Expand description
A convenience function that will extract the opentelemetry::Context
from the given
TraceContext
. If you want to do something more advanced, use the TraceContextExtractor