Struct futures_util::future::SelectAll
[−]
[src]
#[must_use = "futures do nothing unless polled"]pub struct SelectAll<A> where
A: Future, { /* fields omitted */ }
Future for the select_all
combinator, waiting for one of any of a list of
futures to complete.
This is created by the select_all
function.
Trait Implementations
impl<A: Debug> Debug for SelectAll<A> where
A: Future,
[src]
A: Future,
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<A> Future for SelectAll<A> where
A: Future,
[src]
A: Future,
type Item = (A::Item, usize, Vec<A>)
A successful value
type Error = (A::Error, usize, Vec<A>)
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