pub trait Function: Sync + Send {
// Required method
fn call(&self, args: &HashMap<String, Value>) -> Result<Value, Error>;
// Provided method
fn is_safe(&self) -> bool { ... }
}
Expand description
The global function type definition