Skip to main content

visit

Function visit 

Source
pub fn visit(
    out: &mut String,
    level: Level,
    __callsite: &'static DefaultCallsite,
    vs: &mut ValueSet<'_>,
)
Expand description

Dispatches structured error fields and records their formatted message.

Enabled tracing subscribers receive an event at the supplied call site, and the tracing-log bridge receives the same values. The visitor then appends those values to out for construction of the returned error.