Trait tracing_subscriber::field::VisitOutput[][src]

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

Completes the visitor, returning any output.

This is called once a full set of fields has been visited.

Provided methods

Visit a set of fields, and return the output of finishing the visitor once the fields have been visited.

Implementors