Module storage_trace::__backend
source · Macros§
- Convenience macro for the
duration
function that can be used to trace the duration of a scope. If you need finer grained control over when a duration starts and stops, seeduration_begin
andduration_end
. - Convenience macro for the
flow_begin
function. - Convenience macro for the
flow_end
function. - Convenience macro for the
flow_step
function.
Structs§
- An identifier for flows and async spans.
- RAII wrapper for a trace context for a specific category.
Traits§
- A trait for types that can be the values of an argument set.
- Extension trait for tracing futures.
Functions§
- Writes a duration event which ends when the current scope exits, or the
end
method is manually called. - Writes a flow begin event with the specified id. This event may be followed by flow steps events and must be matched by a flow end event with the same category, name, and id.
- Writes a flow end event with the specified id.
- Writes a flow step event with the specified id.