Function serdeconv::to_toml_file

source ·
pub fn to_toml_file<T, P>(value: &T, path: P) -> Result<()>where
    T: ?Sized + Serialize,
    P: AsRef<Path>,
Expand description

Converts the value to a TOML string and writes it to the speficied file.