LazyScalarFunction

Trait LazyScalarFunction 

Source
pub trait LazyScalarFunction: Send + Sync {
    // Required method
    fn call<'life0, 'life1, 'life2, 'life3, 'async_trait>(
        &'life0 self,
        context: &'life1 ExpressionEvaluationContext<'_>,
        expression: &'life2 FunctionExpression,
        args: &'life3 Vec<Expression>,
    ) -> Pin<Box<dyn Future<Output = Result<VariableValue, FunctionError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait;
}

Required Methods§

Source

fn call<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, context: &'life1 ExpressionEvaluationContext<'_>, expression: &'life2 FunctionExpression, args: &'life3 Vec<Expression>, ) -> Pin<Box<dyn Future<Output = Result<VariableValue, FunctionError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Implementors§