pub fn emit(result: &Rendered, json: bool) -> i32Expand description
Print a Rendered result to the right stream and return its exit code.
json selects the machine twin; otherwise the human prose is printed.
Errors and diagnostics (Rendered::to_stderr) go to stderr regardless.