Trait tracing_subscriber::field::MakeOutput
source · [−]pub trait MakeOutput<T, Out> where
Self: MakeVisitor<T> + Sealed<(T, Out)>,
Self::Visitor: VisitOutput<Out>, {
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
fn visit_with<F>(&self, target: T, fields: &F) -> Out where
F: RecordFields,
fn visit_with<F>(&self, target: T, fields: &F) -> Out where
F: RecordFields,
Visits all fields in fields
with a new visitor constructed from
target
.