settings

Macro trace_guard

Source
macro_rules! trace_guard {
    ($nonce:expr, $name:expr $(, $key:expr => $val:expr)* $(,)?) => { ... };
}
Expand description

This macro simplifies collecting async trace events. It returns a guard that can be used to control the scope of the tracing event. It uses “setui” as the category name.