Skip to main content

try_block_on

Function try_block_on 

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

Runs an async future, returning errors from runtime construction.