AsyncFunc

Trait AsyncFunc 

pub trait AsyncFunc<Args: Tuple>: AsyncFuncMut<Args> {
    // Required method
    fn async_call(&self, args: Args) -> Self::Future;
}
Available on crate feature func only.

Required Methods§

fn async_call(&self, args: Args) -> Self::Future

Implementors§

§

impl<F, Args> AsyncFunc<Args> for F
where F: Func<Args>, F::Output: Future, Args: Tuple,