Struct futures_util::future::PollFn [−][src]
A future which adapts a function returning Poll
.
Created by the poll_fn
function.
Trait Implementations
impl<F: Debug> Debug for PollFn<F>
[src]
[+]
impl<F: Debug> Debug for PollFn<F>
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,