[][src]Function heim_runtime::fs::read_to_string

pub fn read_to_string<T>(path: T) -> impl Future<Output = Result<String>> where
    T: AsRef<Path> + Send + Unpin + 'static, 

Read path file asynchronously and convert it contents into a string.