Function http_zipkin::set_sampling_flags_single
source · pub fn set_sampling_flags_single(flags: SamplingFlags, headers: &mut HeaderMap)
Expand description
Serializes sampling flags into the b3
HTTP header.
This form is more compact than the old X-B3-
set of headers, but some implementations may not support it.