Function trace_closure_payload

Source
pub fn trace_closure_payload<S, C, P, F, R>(
    name: S,
    categories: C,
    closure: F,
    payload: P,
) -> R
where S: Into<StrCow>, C: Into<CategoriesT>, P: Into<TracePayloadT>, F: FnOnce() -> R,
Expand description

See trace_closure for how the closure works and trace_payload for a discussion on payload.