Type Definition PollFn
suspend
type PollFn<'a, T> = Box<dyn FnMut(&mut Context) -> Poll<T> + Send + 'a>;
A polling function equivalent to Future::poll.
Future::poll