usecore::future::Future;pub(crate)modarray;pub(crate)modtuple;#[cfg(feature ="alloc")]pub(crate)modvec;/// Wait for the first future to complete.
////// Awaits multiple future at once, returning as soon as one completes. The
/// other futures are cancelled.
pubtraitRace{/// The resulting output type.
typeOutput;/// Which kind of future are we turning this into?
typeFuture:Future<Output = Self::Output>;/// Wait for the first future to complete.
////// Awaits multiple futures at once, returning as soon as one completes. The
/// other futures are cancelled.
////// This function returns a new future which polls all futures concurrently.
////// # Panics
////// This method will panic if the collection is empty (for `Vec` and array
/// implementations) since there would be no future to race.
fnrace(self)->Self::Future;}