🛈 Note: This is pre-release documentation for the upcoming tracing 0.2.0 ecosystem.

For the release documentation, please see docs.rs, instead.

Trait tracing_subscriber::field::VisitWrite

source ·
pub trait VisitWrite: VisitOutput<Result<(), Error>> {
    // Required method
    fn writer(&mut self) -> &mut dyn Write;
}
Available on crate feature std only.
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,