Function write_string

Source
pub async fn write_string(filename: &Path, text: &str) -> Result<()>
Expand description

Write a string to a text file. If using within the web browser environment, a local storage key with the name of the file will be used.