Struct futures_util::future::FlattenStream
source · [−]pub struct FlattenStream<F> where
F: Future, { /* private fields */ }
Expand description
Stream for the flatten_stream
method.
Trait Implementations
sourceimpl<F> FusedStream for FlattenStream<F> where
Flatten<F, <F as Future>::Output>: FusedStream,
F: Future,
impl<F> FusedStream for FlattenStream<F> where
Flatten<F, <F as Future>::Output>: FusedStream,
F: Future,
sourcefn is_terminated(&self) -> bool
fn is_terminated(&self) -> bool
Returns true
if the stream should no longer be polled.
sourceimpl<F> Stream for FlattenStream<F> where
Flatten<F, <F as Future>::Output>: Stream,
F: Future,
impl<F> Stream for FlattenStream<F> where
Flatten<F, <F as Future>::Output>: Stream,
F: Future,
impl<'__pin, F> Unpin for FlattenStream<F> where
__Origin<'__pin, F>: Unpin,
F: Future,
Auto Trait Implementations
impl<F> RefUnwindSafe for FlattenStream<F> where
F: RefUnwindSafe,
<F as Future>::Output: RefUnwindSafe,
impl<F> Send for FlattenStream<F> where
F: Send,
<F as Future>::Output: Send,
impl<F> Sync for FlattenStream<F> where
F: Sync,
<F as Future>::Output: Sync,
impl<F> UnwindSafe for FlattenStream<F> where
F: UnwindSafe,
<F as Future>::Output: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more