Skip to main content

write_toml

Function write_toml 

Source
pub fn write_toml<S: Serialize>(
    path: impl AsRef<Path>,
    content: &S,
) -> Result<()>
Available on crate features fs and toml only.
Expand description

Serialize data as TOML and write it to a file.