pub fn read(path: impl AsRef<Path>) -> Result<InputRecording>Expand description
Reads a .rgrec file written by write() back into an InputRecording.
§Errors
Returns an error if path cannot be opened or read, the file has no header line, or any
line’s JSON does not parse.