# Function futures_util::future::join3 [−] [src]

###

    pub fn join3<Fut1, Fut2, Fut3>(
        future1: Fut1,
        future2: Fut2,
        future3: Fut3
    ) -> Join3<Fut1, Fut2, Fut3>ⓘNotable traits for Join3<Fut1, Fut2, Fut3>impl<Fut1: Future, Fut2: Future, Fut3: Future> Future for Join3<Fut1, Fut2, Fut3>    type Output = (Fut1::Output, Fut2::Output, Fut3::Output); where
        Fut1: Future,
        Fut2: Future,
        Fut3: Future,

Same as `join`, but with more futures.

# Examples

    use futures::future;

    let a = async { 1 };
    let b = async { 2 };
    let c = async { 3 };
    let tuple = future::join3(a, b, c);

    assert_eq!(tuple.await, (1, 2, 3));