Struct futures::future::PollFn [−][src]
A future which adapts a function returning Poll
.
Created by the poll_fn
function.
Trait Implementations
impl<F> Debug for PollFn<F> where
F: Debug,
[src]
[+]
impl<F> Debug for PollFn<F> where
F: Debug,
impl<T, F> Future for PollFn<F> where
F: FnMut(&mut Context) -> Poll<T> + Unpin,
[src]
[+]
impl<T, F> Future for PollFn<F> where
F: FnMut(&mut Context) -> Poll<T> + Unpin,