pub fn parse_file( text: &str, utc_offset_seconds: i64, ) -> Result<Vec<Record>, Error>
Parse a whole sacct --parsable2 --noheader export. Calculation.
sacct --parsable2 --noheader
Blank lines are skipped. Every remaining line is parsed in order, and the first row that cannot be read fails the whole call with an error naming that row and field.
The first Error any row earns.
Error