write

Function write 

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

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