pub fn write(recording: &InputRecording, path: impl AsRef<Path>) -> Result<()>
Writes recording to path as .rgrec, overwriting any existing file.
recording
path
.rgrec
Returns an error if path cannot be created or written to.