Function serdeconv::to_msgpack_file
[−]
[src]
pub fn to_msgpack_file<T: ?Sized, P>(value: &T, path: P) -> Result<()> where
T: Serialize,
P: AsRef<Path>,
Converts the value to a MessagePack bytes and writes it to the speficied file.