(&self, mut writer: W)
| 33 | } |
| 34 | |
| 35 | fn encode_to_writer<W: std::io::Write>(&self, mut writer: W) -> anyhow::Result<()> { |
| 36 | let encoded = rmp_serde::to_vec_named(self)?; |
| 37 | writer.write_all(&encoded)?; |
| 38 | Ok(()) |
| 39 | } |
| 40 | |
| 41 | fn save_file_to<P: AsRef<std::path::Path>>( |
| 42 | &self, |
no outgoing calls
no test coverage detected