Function minimal_executor::block_fn

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