async fn run<Req, Ans>( state: &AppState, caller: &RemoteCaller, op: &'static str, params: Value, f: impl FnOnce(&mut Ctx<'_>, &str, Req) -> Result<Ans, OpError> + Send + 'static, ) -> Result<Value, RemoteRefusal>where Req: DeserializeOwned + Send + 'static, Ans: Serialize + Send + 'static,