Runs the command.
(mut self)
| 37 | impl WizerCommand { |
| 38 | /// Runs the command. |
| 39 | pub fn execute(mut self) -> Result<()> { |
| 40 | self.run.common.init_logging()?; |
| 41 | let runtime = tokio::runtime::Builder::new_multi_thread() |
| 42 | .enable_time() |
| 43 | .enable_io() |
| 44 | .build()?; |
| 45 | runtime.block_on(self.execute_async()) |
| 46 | } |
| 47 | |
| 48 | async fn execute_async(mut self) -> Result<()> { |
| 49 | // By default use deterministic relaxed simd operations to guarantee |
nothing calls this directly
no test coverage detected