Replace the executor component
(self, executor: NewE)
| 115 | |
| 116 | /// Replace the executor component |
| 117 | pub fn executor<NewE>(self, executor: NewE) -> ComponentSetBuilder<N, NewE, S, M, B, Est, H, Mer, Mon, Sig> { |
| 118 | ComponentSetBuilder { |
| 119 | network: self.network, |
| 120 | executor, |
| 121 | strategy: self.strategy, |
| 122 | market: self.market, |
| 123 | broadcaster: self.broadcaster, |
| 124 | estimator: self.estimator, |
| 125 | health: self.health, |
| 126 | merger: self.merger, |
| 127 | monitoring: self.monitoring, |
| 128 | signer: self.signer, |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | /// Replace the strategy component |
| 133 | pub fn strategy<NewS>(self, strategy: NewS) -> ComponentSetBuilder<N, E, NewS, M, B, Est, H, Mer, Mon, Sig> { |
no outgoing calls
no test coverage detected