[−][src]Struct futures_util::stream::PollFn
A stream 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<F> Unpin for PollFn<F>
[src]
impl<F> Unpin for PollFn<F>
impl<T, F> Stream for PollFn<F> where
F: FnMut(&mut Context) -> Poll<Option<T>>,
[src]
[+]
impl<T, F> Stream for PollFn<F> where
F: FnMut(&mut Context) -> Poll<Option<T>>,