pub async fn read_to_string(path: impl AsRef<Path>) -> Result<String>
Read the entire contents of a file into a string.
Returns an error if the file contents are not valid UTF-8.