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