Function non_blocking_result

Source
pub fn non_blocking_result<F, T, E>(future: F) -> Result<T, E>
where F: Future<Output = Result<T, E>>, E: From<Error>,
Expand description

Similar to non_blocking, but unwraps a level of Result.