(&self)
| 61 | } |
| 62 | |
| 63 | async fn run(&self) -> Result<()> { |
| 64 | match self { |
| 65 | ExampleKind::All => { |
| 66 | for example in ExampleKind::runnable() { |
| 67 | println!("Running example: {example}"); |
| 68 | Box::pin(example.run()).await?; |
| 69 | } |
| 70 | } |
| 71 | ExampleKind::MemPoolExecPlan => { |
| 72 | memory_pool_execution_plan::memory_pool_execution_plan().await? |
| 73 | } |
| 74 | ExampleKind::MemPoolTracking => { |
| 75 | memory_pool_tracking::mem_pool_tracking().await? |
| 76 | } |
| 77 | ExampleKind::Tracing => tracing::tracing().await?, |
| 78 | } |
| 79 | Ok(()) |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | #[tokio::main] |
no test coverage detected