Struct futures_util::stream::PollFn [−][src]
#[must_use = "streams do nothing unless polled"]pub struct PollFn<F> { /* fields omitted */ }
Stream for the poll_fn
function.
Trait Implementations
impl<F> Unpin for PollFn<F>
[src]
Auto Trait Implementations
impl<F> RefUnwindSafe for PollFn<F> where
F: RefUnwindSafe,
F: RefUnwindSafe,
impl<F> Send for PollFn<F> where
F: Send,
F: Send,
impl<F> Sync for PollFn<F> where
F: Sync,
F: Sync,
impl<F> UnwindSafe for PollFn<F> where
F: UnwindSafe,
F: UnwindSafe,