pub fn block_with_io<F, Fut, R>(f: F) -> Rwhere F: FnOnce(LocalDriver) -> Fut, Fut: Future<Output = R>,
Polls a future that needs to issue IO until it completes.