pub trait EffectHandler {
// Required method
fn dispatch(
&mut self,
kind: &str,
op: &str,
args: Vec<Value>,
) -> Result<Value, String>;
}Expand description
Host-side effect dispatch. Implementors decide what kind/op mean
and how arguments map to side effects.