Skip to main content

exec_future

Function exec_future 

Source
pub fn exec_future<T, E, F>(future: F) -> GenericResult<Result<T, E>>
where F: Future<Output = Result<T, E>> + 'static, F::Output: 'static, T: 'static, E: 'static,
Expand description

One-shot blocking bridge: execute a future and return the first Next result.