Skip to main content

NativeFn

Type Alias NativeFn 

Source
pub type NativeFn = fn(HashMap<String, Value>) -> Result<Value, String>;
Expand description

Registry type mapping function name to a function pointer. Developers write handlers matching this signature.