heim_runtime::fs

Function read_into

Source
pub fn read_into<T, R, E>(path: T) -> impl Future<Output = Result<R, E>>
where T: AsRef<Path> + Send + Unpin + 'static, R: FromStr<Err = E>, E: From<Error>,
Expand description

Read path file and try to parse it into a R type via std::str::FromStr.