Struct futures_util::stream::PollImmediate [−][src]
pub struct PollImmediate<S> { /* fields omitted */ }
Expand description
Stream for the poll_immediate function.
It will never return Poll::Pending
Trait Implementations
Returns true
if the stream should no longer be polled.
Attempt to pull out the next value of this stream, registering the
current task for wakeup if the value is not yet available, and returning
None
if the stream is exhausted. Read more
Auto Trait Implementations
impl<S> RefUnwindSafe for PollImmediate<S> where
S: RefUnwindSafe,
impl<S> Send for PollImmediate<S> where
S: Send,
impl<S> Sync for PollImmediate<S> where
S: Sync,
impl<S> UnwindSafe for PollImmediate<S> where
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more