Skip to main content

Handler

Type Alias Handler 

Source
pub type Handler = Rc<dyn Fn(&[Value]) -> Result<Value, NativeError>>;
Expand description

A native function’s body: the arguments it was given, converted.

Aliased Type§

pub struct Handler { /* private fields */ }