Struct futures_util::stream::PollImmediate
source · pub struct PollImmediate<S> { /* private fields */ }Expand description
Stream for the poll_immediate function.
It will never return Poll::Pending
Trait Implementations§
source§impl<S: Clone> Clone for PollImmediate<S>
impl<S: Clone> Clone for PollImmediate<S>
source§fn clone(&self) -> PollImmediate<S>
fn clone(&self) -> PollImmediate<S>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<S: Debug> Debug for PollImmediate<S>
impl<S: Debug> Debug for PollImmediate<S>
source§impl<S: Stream> FusedStream for PollImmediate<S>
impl<S: Stream> FusedStream for PollImmediate<S>
source§fn is_terminated(&self) -> bool
fn is_terminated(&self) -> bool
Returns
true if the stream should no longer be polled.