Trait teo_runtime::pipeline::item::Call

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

Required Methods§

source

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

Implementors§

source§

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