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
sourceimpl<S: Clone> Clone for PollImmediate<S>
impl<S: Clone> Clone for PollImmediate<S>
sourcefn clone(&self) -> PollImmediate<S>
fn clone(&self) -> PollImmediate<S>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<S: Debug> Debug for PollImmediate<S>
impl<S: Debug> Debug for PollImmediate<S>
sourceimpl<S: Stream> FusedStream for PollImmediate<S>
impl<S: Stream> FusedStream for PollImmediate<S>
sourcefn is_terminated(&self) -> bool
fn is_terminated(&self) -> bool
Returns
true
if the stream should no longer be polled.sourceimpl<T, S> Stream for PollImmediate<S>where
S: Stream<Item = T>,
impl<T, S> Stream for PollImmediate<S>where
S: Stream<Item = T>,
impl<'__pin, S> Unpin for PollImmediate<S>where
__Origin<'__pin, S>: Unpin,
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more