Trait tracing_subscriber::field::VisitFmt[][src]

pub trait VisitFmt: VisitOutput<Result> {
    fn writer(&mut self) -> &mut dyn Write;
}

Extension trait implemented by visitors to indicate that they write to a fmt::Write instance, and allow access to that writer.

Required methods

fn writer(&mut self) -> &mut dyn Write[src]

Returns the formatter that this visitor writes to.

Loading content...

Implementors

impl<'a> VisitFmt for DefaultVisitor<'a>[src]

impl<'a> VisitFmt for JsonVisitor<'a>[src]

impl<'a> VisitFmt for PrettyVisitor<'a>[src]

impl<'a, F> VisitFmt for FieldFnVisitor<'a, F> where
    F: Fn(&mut dyn Write, &Field, &dyn Debug) -> Result
[src]

impl<D, V> VisitFmt for VisitDelimited<D, V> where
    V: VisitFmt,
    D: AsRef<str>, 
[src]

impl<V> VisitFmt for Alt<V> where
    V: VisitFmt
[src]

impl<V> VisitFmt for Messages<V> where
    V: VisitFmt
[src]

Loading content...