[go: up one dir, main page]

to_msgpack_file

Function to_msgpack_file 

Source
pub fn to_msgpack_file<T, P>(value: &T, path: P) -> Result<()>
where T: ?Sized + Serialize, P: AsRef<Path>,
Expand description

Converts the value to a MessagePack bytes and writes it to the speficied file.