write_file

Function write_file 

Source
pub fn write_file<S>(path: &str, data: &[S]) -> Result<(), Error>
where S: Serialize,
Expand description

写入数据到指定的文件路径