Skip to main content

read_to_string

Function read_to_string 

Source
pub async fn read_to_string(path: impl AsRef<Path>) -> Result<String>
Expand description

The whole file at path, which must be UTF-8.