pub type HostDispatch = Rc<dyn Fn(&[Value]) -> Result<Value, HostError>>;
The type-erased closure the VM dispatches a host call to.
host
pub struct HostDispatch { /* private fields */ }