Trait tracing_subscriber::field::VisitOutput
source · pub trait VisitOutput<Out>: Visit {
fn finish(self) -> Out;
fn visit<R>(self, fields: &R) -> Out
where
R: RecordFields,
Self: Sized,
{ ... }
}
Expand description
A visitor that produces output once it has visited a set of fields.
Required Methods§
Provided Methods§
sourcefn visit<R>(self, fields: &R) -> Outwhere
R: RecordFields,
Self: Sized,
fn visit<R>(self, fields: &R) -> Outwhere
R: RecordFields,
Self: Sized,
Visit a set of fields, and return the output of finishing the visitor once the fields have been visited.