pub fn run<R, W, E>(
mode: Mode,
reader: R,
writer: W,
error_writer: E,
) -> Result<(), Error>Expand description
Reads clippy JSON from reader, formats according to mode, writes to writer.
Per-line JSON parse errors are logged to error_writer and the run continues;
only I/O failures on reader or writer are fatal.
ยงErrors
Returns Error::Io if reading from reader, writing to writer, or
writing to error_writer fails.