Trait tracing_subscriber::field::MakeOutput
source · pub trait MakeOutput<T, Out>where
Self: MakeVisitor<T> + Sealed<(T, Out)>,
Self::Visitor: VisitOutput<Out>,{
// Provided method
fn visit_with<F>(&self, target: T, fields: &F) -> Out
where F: RecordFields { ... }
}
Expand description
Extension trait implemented for all MakeVisitor
implementations that
produce a visitor implementing VisitOutput
.
Provided Methods§
sourcefn visit_with<F>(&self, target: T, fields: &F) -> Outwhere
F: RecordFields,
fn visit_with<F>(&self, target: T, fields: &F) -> Outwhere F: RecordFields,
Visits all fields in fields
with a new visitor constructed from
target
.