async fn stop_mining( state: CupratedRpcHandler, request: StopMiningRequest, ) -> Result<StopMiningResponse, Error>
https://github.com/monero-project/monero/blob/cc73fe71162d564ffda8e549b79a350bca53c454/src/rpc/core_rpc_server.cpp#L1464-L1482