pub fn dump_to_writer<T: Serialize, W: Write>( to_dump: &T, output: W) -> Result<()>
Dumps an object to the given writer in a compressed binary format
The writer is encoded with the bincode crate and compressed with flate2.
bincode
flate2