[−][src]Function rmp_fs::save_to_rmp
pub fn save_to_rmp<T>(file: &Path, data: &T) -> Result<(), Box<dyn Error>> where
T: Serialize,
Save Serializable data to a file as RustMessagePack format. Note if the file already exist. The existing file is deleted.