[go: up one dir, main page]

write_to_file

Function write_to_file 

Source
pub fn write_to_file<P, C>(path: P, content: &C) -> Result<()>
where P: AsRef<Path>, C: SerializeIo,
Expand description

Serialize the content and write it to the file at the given path.