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::Visitand is used in theGetStr::get_strimplementation 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_plancall.
Traits§
- GetStr 🔒
- Helper trait used to extract attributes of type
&'static str.
Functions§
- dbg_
misc - Create a span identified by
segmentand tracemiscin it. - dbg_
plan - Create a span identified by
segmentand traceplanin it. - trace_
plan - Trace a fragment of type
Tto be emitted as part of anEXPLAIN OPTIMIZER TRACEoutput.