Type Alias futures_core::stream::LocalBoxStream
source · pub type LocalBoxStream<'a, T> = Pin<Box<dyn Stream<Item = T> + 'a>>;Expand description
BoxStream, but without the Send requirement.
Aliased Type§
struct LocalBoxStream<'a, T> { /* private fields */ }Trait Implementations§
source§impl<P> FusedFuture for Pin<P>where
P: DerefMut + Unpin,
P::Target: FusedFuture,
impl<P> FusedFuture for Pin<P>where P: DerefMut + Unpin, P::Target: FusedFuture,
source§fn is_terminated(&self) -> bool
fn is_terminated(&self) -> bool
Returns
true if the underlying future should no longer be polled.source§impl<P> FusedStream for Pin<P>where
P: DerefMut + Unpin,
P::Target: FusedStream,
impl<P> FusedStream for Pin<P>where P: DerefMut + Unpin, P::Target: FusedStream,
source§fn is_terminated(&self) -> bool
fn is_terminated(&self) -> bool
Returns
true if the stream should no longer be polled.