pub trait DispatchEffect<U = ()> {
// Required method
fn dispatch(
&mut self,
tag: u64,
request: &Value,
cx: &EffectContext<'_, U>,
) -> Result<Value, EffectError>;
}pub trait DispatchEffect<U = ()> {
// Required method
fn dispatch(
&mut self,
tag: u64,
request: &Value,
cx: &EffectContext<'_, U>,
) -> Result<Value, EffectError>;
}