macro_rules! trace_call_result {
($trace:expr, $operation:expr) => { ... };
}Expand description
Record a fallible invocation according to the trace policy. 按追踪策略记录一个可失败的函数调用。
In errors-only mode, successful scopes are discarded and Err/panic
scopes remain available for diagnostics. Other modes keep their normal
behavior.
在 errors-only 模式下成功作用域会回滚,Err 或 panic 作用域会保留供诊断;
其它模式保持正常收集行为。