Struct futures::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> Future for SelectAll<A> where
A: Future,
[src]
A: Future,
type Item = (<A as Future>::Item, usize, Vec<A>)
A successful value
type Error = (<A as Future>::Error, usize, Vec<A>)
An error
fn poll(
&mut self,
cx: &mut Context
) -> Result<Async<<SelectAll<A> as Future>::Item>, <SelectAll<A> as Future>::Error>
[src]
&mut self,
cx: &mut Context
) -> Result<Async<<SelectAll<A> as Future>::Item>, <SelectAll<A> 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
impl<A> Debug for SelectAll<A> where
A: Debug + Future,
[src]
A: Debug + Future,