[][src]Function heim_runtime::fs::read_first_line

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

Returns future which tries to read the first line from file.