Executes the task without consuming it.
(&self, state: &mut EngineState)
| 126 | impl<EngineClient_: EngineClient> EngineTask<EngineClient_> { |
| 127 | /// Executes the task without consuming it. |
| 128 | async fn execute_inner(&self, state: &mut EngineState) -> Result<(), EngineTaskErrors> { |
| 129 | match self { |
| 130 | Self::Insert(task) => task.execute(state).await?, |
| 131 | Self::Seal(task) => task.execute(state).await?, |
| 132 | Self::Consolidate(task) => task.execute(state).await?, |
| 133 | Self::Finalize(task) => task.execute(state).await?, |
| 134 | }; |
| 135 | |
| 136 | Ok(()) |
| 137 | } |
| 138 | |
| 139 | const fn task_metrics_label(&self) -> &'static str { |
| 140 | match self { |