logo
pub trait Function<Rv = Value, Args = Vec<Value>>: Send + Sync + 'static {
    fn invoke(&self, env: &State<'_, '_>, args: Args) -> Result<Rv, Error>;
}
Expand description

A utility trait that represents global functions.

Required methods

Calls a function with the given arguments.

Implementors