(&self)
| 66 | } |
| 67 | |
| 68 | async fn run(&self) -> Result<()> { |
| 69 | match self { |
| 70 | ExampleKind::All => { |
| 71 | for example in ExampleKind::runnable() { |
| 72 | println!("Running example: {example}"); |
| 73 | Box::pin(example.run()).await?; |
| 74 | } |
| 75 | } |
| 76 | ExampleKind::Analysis => analysis::analysis().await?, |
| 77 | ExampleKind::CustomSqlParser => { |
| 78 | custom_sql_parser::custom_sql_parser().await? |
| 79 | } |
| 80 | ExampleKind::Frontend => frontend::frontend()?, |
| 81 | ExampleKind::Query => query::query().await?, |
| 82 | } |
| 83 | Ok(()) |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | #[tokio::main] |
no test coverage detected