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