An unbounded set of futures.
Constructs a new, empty
SelectAll does not contain any futures.
Returns the number of futures contained in the set. This represents the total number of in-flight futures.
Returns true if the set contains no futures.
Push a future into the set.
This function submits the given future to the set for managing.
This function will not call poll on the submitted future.
The caller must ensure that
SelectAll::select is called in order to receive task notifications.
Select over a list of futures.
Upon completion the item resolved will be returned.
There are no guarantees provided on the order of the list with the remaining futures. They might be swapped around, reversed, or completely random.
This function will panic if the
SelectAll specified contains no items.
impl<F> RefUnwindSafe for SelectAll<F> where
impl<F> UnwindSafe for SelectAll<F> where
type Error = Infallible
The type returned in the event of a conversion error.