macro_rules! in_context { ($context:expr, $body:block) => { ... }; }
Macro for running code within a context scope.
let context = extract_from_headers(&headers); in_context!(context, { // Code here runs with the context attached let span = span!("my_operation"); });