extract_traceparent_strict

Function extract_traceparent_strict 

Source
pub fn extract_traceparent_strict(
    headers: &[(String, Vec<u8>)],
) -> Result<Option<TraceContext>, TraceContextError>
Expand description

Extract a trace context from a header list, returning the parse error if the header is present but malformed.