Function rmp_fs::save_to_rmp

source ·
pub fn save_to_rmp<T>(file: &Path, data: &T) -> Result<(), Box<dyn Error>>where
    T: Serialize,
Expand description

Save Serializable data to a file as RustMessagePack format. Note if the file already exist. The existing file is deleted.