Trait RsFunction

Source
pub trait RsFunction: Fn(&[Value]) -> Result<Value, Error> + 'static { }
Expand description

Represents a function that can be registered with the runtime

Implementors§

Source§

impl<F> RsFunction for F
where F: Fn(&[Value]) -> Result<Value, Error> + 'static,