Struct futures_util::future::JoinAll
[−]
[src]
#[must_use = "futures do nothing unless polled"]pub struct JoinAll<F> where
F: Future, { /* fields omitted */ }
A future which takes a list of futures and resolves with a vector of the completed values.
This future is created with the join_all
method.
Trait Implementations
impl<F> Debug for JoinAll<F> where
F: Future + Debug,
F::Item: Debug,
[src]
F: Future + Debug,
F::Item: Debug,
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<F> Future for JoinAll<F> where
F: Future,
[src]
F: Future,
type Item = Vec<F::Item>
A successful value
type Error = F::Error
An error
fn poll(&mut self, cx: &mut Context) -> Poll<Self::Item, Self::Error>
[src]
Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more
impl<F: IntoFuture> FromIterator<F> for JoinAll<F::Future>
[src]
fn from_iter<T: IntoIterator<Item = F>>(iter: T) -> Self
[src]
Creates a value from an iterator. Read more