[][src]Trait futures_race::RaceExt

pub trait RaceExt: Future {
    fn race<With>(self, with: With) -> Race<Self, With>

Notable traits for Race<Left, Right>

impl<Left, Right> Future for Race<Left, Right> where
    Left: Future,
    Right: Future<Output = Left::Output>, 
type Output = Left::Output;

    where
        Self: Sized,
        With: Future<Output = Self::Output>
, { ... } }
👎 Deprecated since 1.2.0:

please use futures-micro or futures-lite instead

Deprecated in favor of futures-micro and futures-lite.

Provided methods

fn race<With>(self, with: With) -> Race<Self, With>

Notable traits for Race<Left, Right>

impl<Left, Right> Future for Race<Left, Right> where
    Left: Future,
    Right: Future<Output = Left::Output>, 
type Output = Left::Output;
where
    Self: Sized,
    With: Future<Output = Self::Output>, 

👎 Deprecated since 1.2.0:

please use futures-micro or futures-lite instead

Deprecated in favor of futures-micro and futures-lite.

Loading content...

Implementors

impl<Fut: Future> RaceExt for Fut[src]

Loading content...