libp2p_rs::runtime::task
pub fn block_on<F, T>(future: F) -> T where F: Future<Output = T>,
Spawns a runtime and blocks the current thread on its result.