pub(crate) fn poll_fn<T, F: FnMut(&mut Context<'_>) -> T>(f: F) -> PollFn<F> ⓘ
Creates a future from a function that returns Poll.
Poll