(mut self, rpc_method: RpcMethodBuilder<S>)
| 293 | } |
| 294 | |
| 295 | pub fn rpcmethod_from_builder(mut self, rpc_method: RpcMethodBuilder<S>) -> Builder<S, I, O> { |
| 296 | self.rpcmethods |
| 297 | .insert(rpc_method.name.to_string(), rpc_method.build()); |
| 298 | self |
| 299 | } |
| 300 | |
| 301 | /// Register a callback for setconfig to accept changes for dynamic options |
| 302 | pub fn setconfig_callback<C, F>(mut self, setconfig_callback: C) -> Builder<S, I, O> |