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

Required Associated Types§

source

type Future: Future<Output = <Self as AsyncSingleArgFn<A>>::Output> + Send

source

type Output

Implementors§

source§

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

§

type Future = F

§

type Output = <F as Future>::Output