pub fn write_string_with_options_sync<P: AsRef<Path>>( filename: P, _options: Options, text: &str, ) -> Result<()>
Synchronously writes text to filename, replacing any existing contents.
text
filename