Skip to main content

read_to_string_blocking

Function read_to_string_blocking 

Source
pub async fn read_to_string_blocking(path: PathBuf) -> Result<String, Error>
Expand description

Read a UTF-8 file on the blocking pool (PAR-77: never fs::read_to_string on async worker).