Function combine::future_ext::poll_fn

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