Expand description
Tracing utilities for explainable plans.
Structs§
- Context
Hash - A helper struct for wrapping entries that represent the invocation context of a function or method call into an object that renders as their hash.
- Extract
Str 🔒 - Helper struct that implements
field::Visit
and is used in theGetStr::get_str
implementation forspan::Attributes
. - Plan
Trace - A tracing layer used to accumulate a sequence of explainable plans.
- Trace
Entry - A struct created as a reflection of a
trace_plan
call.
Traits§
- GetStr 🔒
- Helper trait used to extract attributes of type
&'static str
.
Functions§
- dbg_
misc - Create a span identified by
segment
and tracemisc
in it. - dbg_
plan - Create a span identified by
segment
and traceplan
in it. - trace_
plan - Trace a fragment of type
T
to be emitted as part of anEXPLAIN OPTIMIZER TRACE
output.