Struct futures_util::future::SelectOk
[−]
[src]
#[must_use = "futures do nothing unless polled"]pub struct SelectOk<A> where
A: Future, { /* fields omitted */ }
Future for the select_ok
combinator, waiting for one of any of a list of
futures to successfully complete. Unlike select_all
, this future ignores all
but the last error, if there are any.
This is created by the select_ok
function.
Trait Implementations
impl<A: Debug> Debug for SelectOk<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 SelectOk<A> where
A: Future,
[src]
A: Future,