Struct futures::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 as Future>::Item: Debug,
[src]
F: Future + Debug,
<F as Future>::Item: Debug,
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl<F> FromIterator<F> for JoinAll<<F as IntoFuture>::Future> where
F: IntoFuture,
[src]
F: IntoFuture,
fn from_iter<T>(iter: T) -> JoinAll<<F as IntoFuture>::Future> where
T: IntoIterator<Item = F>,
[src]
T: IntoIterator<Item = F>,
Creates a value from an iterator. Read more
impl<F> Future for JoinAll<F> where
F: Future,
[src]
F: Future,
type Item = Vec<<F as Future>::Item>
A successful value
type Error = <F as Future>::Error
An error
fn poll(
&mut self,
cx: &mut Context
) -> Result<Async<<JoinAll<F> as Future>::Item>, <JoinAll<F> as Future>::Error>
[src]
&mut self,
cx: &mut Context
) -> Result<Async<<JoinAll<F> as Future>::Item>, <JoinAll<F> as Future>::Error>
Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more