combine::future_ext

Function poll_fn

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