pub fn new_writer<W: AsyncWrite + Sync + Send + 'static>( w: W, ) -> Box<dyn Writer>
Creates a new Box<dyn Writer> instance with the AsyncJSONWriter for a given tokio::io::Write instance.
Box<dyn Writer>