pub trait FunctionExecutor {
// Required methods
fn execute(
&self,
context: &mut FunctionContext,
args: &[Value],
) -> Result<()>;
fn name(&self) -> &str;
}Expand description
Trait for executable functions
pub trait FunctionExecutor {
// Required methods
fn execute(
&self,
context: &mut FunctionContext,
args: &[Value],
) -> Result<()>;
fn name(&self) -> &str;
}Trait for executable functions