Function new_writer

Source
pub fn new_writer<W: Write + Sync + Send + 'static>(w: W) -> Box<dyn Writer>
Expand description

Creates a new Box<dyn Writer> instance with the JSONWriter for a given std::io::Write instance.