Struct futures::stream::Concat [−][src]
#[must_use = "streams do nothing unless polled"]pub struct Concat<St> where
St: Stream, { /* fields omitted */ }
A stream combinator to concatenate the results of a stream into the first yielded item.
This structure is produced by the Stream::concat method.
Trait Implementations
impl<St> Unpin for Concat<St> where
St: Unpin + Stream, [src]
impl<St> Unpin for Concat<St> where
St: Unpin + Stream, impl<St> Debug for Concat<St> where
St: Stream + Debug,
<St as Stream>::Item: Debug, [src]
impl<St> Debug for Concat<St> where
St: Stream + Debug,
<St as Stream>::Item: Debug, fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl<St> Future for Concat<St> where
St: Stream,
<St as Stream>::Item: Extend<<<St as Stream>::Item as IntoIterator>::Item>,
<St as Stream>::Item: IntoIterator,
<St as Stream>::Item: Default, [src]
impl<St> Future for Concat<St> where
St: Stream,
<St as Stream>::Item: Extend<<<St as Stream>::Item as IntoIterator>::Item>,
<St as Stream>::Item: IntoIterator,
<St as Stream>::Item: Default, type Output = <St as Stream>::Item
🔬 This is a nightly-only experimental API. (futures_api)
futures in libcore are unstable
The result of the Future.
fn poll(
self: PinMut<Concat<St>>,
cx: &mut Context
) -> Poll<<Concat<St> as Future>::Output>[src]
fn poll(
self: PinMut<Concat<St>>,
cx: &mut Context
) -> Poll<<Concat<St> as Future>::Output>🔬 This is a nightly-only experimental API. (futures_api)
futures in libcore are unstable
Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more