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