UserFunctionExecutor

Trait UserFunctionExecutor 

Source
pub trait UserFunctionExecutor {
    // Required method
    fn execute(
        &mut self,
        name: &str,
        context: CallerContext<'_>,
    ) -> Result<Option<RuntimeValue>, Error>;
}
Expand description

User functions executor.

Required Methods§

Source

fn execute( &mut self, name: &str, context: CallerContext<'_>, ) -> Result<Option<RuntimeValue>, Error>

Execute function with given name.

Implementors§