Module __backend

Source

Macros§

duration
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, see duration_begin and duration_end.
flow_begin
Convenience macro for the flow_begin function.
flow_end
Convenience macro for the flow_end function.
flow_step
Convenience macro for the flow_step function.

Structs§

Id
An identifier for flows and async spans.
TraceCategoryContext
RAII wrapper for a trace context for a specific category.

Traits§

ArgValue
A trait for types that can be the values of an argument set.
TraceFutureExt
Extension trait for tracing futures.

Functions§

duration
Writes a duration event which ends when the current scope exits, or the end method is manually called.
flow_begin
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.
flow_end
Writes a flow end event with the specified id.
flow_step
Writes a flow step event with the specified id.
trace_future_args