(&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::Dataframe => { |
| 72 | dataframe::dataframe_example().await?; |
| 73 | } |
| 74 | ExampleKind::DeserializeToStruct => { |
| 75 | deserialize_to_struct::deserialize_to_struct().await?; |
| 76 | } |
| 77 | ExampleKind::CacheFactory => { |
| 78 | cache_factory::cache_dataframe_with_custom_logic().await?; |
| 79 | } |
| 80 | } |
| 81 | Ok(()) |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | #[tokio::main] |
no test coverage detected