Skip to main content

trace_command_effect

Function trace_command_effect 

Source
pub fn trace_command_effect<F, R>(command_type: &str, f: F) -> R
where F: FnOnce() -> R,
Expand description

Execute a command effect with tracing instrumentation.

Wraps command execution with an effect.command span recording command_type, duration_us, and result.