Function block_on

Source
pub fn block_on<T>(future: impl Future<Output = T>) -> T