Function block_on

Source
pub fn block_on<F: Future + Send + 'static>(future: F) -> F::Output
where F::Output: Send,