Trait tracing_subscriber::field::VisitWrite

source ·
pub trait VisitWrite: VisitOutput<Result<(), Error>> {
    // Required method
    fn writer(&mut self) -> &mut dyn Write;
}
Expand description

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

Required Methods§

source

fn writer(&mut self) -> &mut dyn Write

Returns the writer that this visitor writes to.

Implementors§

source§

impl<V> VisitWrite for Alt<V>
where V: VisitWrite,

source§

impl<V> VisitWrite for Messages<V>
where V: VisitWrite,