pub trait Save { fn save(&self, path: &Path) -> Result<(), Error>; }
Save the state to the given file.