Function minimal_executor::block_fn[][src]

pub fn block_fn<T, F: FnMut(&mut Context<'_>) -> Poll<T>>(f: F) -> T