pub trait Call: Send + Sync {
    // Required method
    fn call(
        &self,
        args: Arguments,
        ctx: Ctx
    ) -> BoxFuture<'static, Result<Object>>;
}

Required Methods§

source

fn call(&self, args: Arguments, ctx: Ctx) -> BoxFuture<'static, Result<Object>>

Implementors§

source§

impl<F, Fut> Call for F
where F: Fn(Arguments, Ctx) -> Fut + Sync + Send, Fut: Future<Output = Result<Object>> + Send + 'static,