pub fn report_result(result: QueryOutcome) -> i32
Print a handler result, returning the process exit code.