pub fn block_on<T, F: Future<Output = T>>(f: F) -> TAvailable on crate feature
full and non-crate feature use_std only.Expand description
Blocks the current thread until the future is ready, parking the thread where possible