pub fn run(reader: impl Read, writer: impl Write) -> Result<()>Expand description
Read a JSON payload from reader, render a status line, and write it
to writer. Parse failures render a ? marker to writer and log
detail to stderr; only I/O failures surface as errors.
§Errors
Returns an io::Error if reading from reader or writing to writer
fails. Parse errors are handled internally.