Skip to main content

run

Function run 

Source
pub fn run<O: Write, E: Write>(
    args: &Args,
    out: &mut O,
    err: &mut E,
) -> Result<u8>
Expand description

Run the validation described by args, writing results to out and diagnostics to err. Returns the process exit code.

ยงErrors

Returns an error only if writing to out itself fails; per-input failures are reported via err and reflected in the returned exit code.