pub trait AsyncDoubleArgFn<A, B>: Fn(A, B) -> Self::Future {
    type Future: Future<Output = <Self as AsyncDoubleArgFn<A, B>>::Output> + Send;
    type Output;
}

Required Associated Types§

source

type Future: Future<Output = <Self as AsyncDoubleArgFn<A, B>>::Output> + Send

source

type Output

Implementors§

source§

impl<A, B, FN, F> AsyncDoubleArgFn<A, B> for FNwhere FN: Fn(A, B) -> F, F: Future + Send,

§

type Future = F

§

type Output = <F as Future>::Output