pub trait MethodHandler<Rq, Rsp> { // Required method fn handle(&self, ctx: &Context, request: &Rq) -> Result<Rsp>; }
Handler for a RPC method.
Invoke the method implementation and return a response.