Skip to main content

emit

Function emit 

Source
pub fn emit(result: &Rendered, json: bool) -> i32
Expand 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.