pub trait Handler<CL, P, NP, R>: Sync + Send where
CL: Clone,
P: Atom,
NP: Atom,
R: Atom, {
fn handle(&self, client: Caller<P, NP, R>, params: P) -> Result<R, Error>;
fn make_client(client: Caller<P, NP, R>) -> CL;
}
Loading content...
Loading content...