pub fn render(records: &[ScanRecord], format: OutputFormat) -> StringExpand description
Render records in a machine-readable format into a single string.
The returned string is the complete output for the format, including any
trailing newline. Passing OutputFormat::Text returns an empty string:
the colorized human report is produced by the caller, not here.