Skip to main content

trace_span

Macro trace_span 

Source
trace_span!() { /* proc-macro */ }
Expand description

trace_span!("name") — RAII statement: guard lives until end of scope. Multiple calls in one scope each get a unique binding.

trace_span!("name", { ... }) — block expression form, evaluates to the block’s value.