Struct futures_util::stream::Concat [−][src]
#[must_use = "streams do nothing unless polled"]pub struct Concat<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: Stream + Unpin> Unpin for Concat<St>
[src]
impl<St: Stream + Unpin> Unpin for Concat<St>
impl<St> Debug for Concat<St> where
St: Stream + Debug,
St::Item: Debug,
[src]
impl<St> Debug for Concat<St> where
St: Stream + Debug,
St::Item: Debug,
fn fmt(&self, fmt: &mut Formatter) -> FmtResult
[src]
fn fmt(&self, fmt: &mut Formatter) -> FmtResult
Formats the value using the given formatter. Read more
impl<St> Future for Concat<St> where
St: Stream,
St::Item: Extend<<St::Item as IntoIterator>::Item> + IntoIterator + Default,
[src]
impl<St> Future for Concat<St> where
St: Stream,
St::Item: Extend<<St::Item as IntoIterator>::Item> + IntoIterator + Default,
type Output = St::Item
🔬 This is a nightly-only experimental API. (futures_api
)
futures in libcore are unstable
The result of the Future
.
fn poll(self: PinMut<Self>, cx: &mut Context) -> Poll<Self::Output>
[src]
fn poll(self: PinMut<Self>, cx: &mut Context) -> Poll<Self::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