type impl std::future::Future
                  
                  
                   --> src/main.rs:8:17
                  
                  
                    |
                  
                  
                  8 | async fn main() {
                  
                  
                    |                 ^ main can only return types that implement `std::process::Termination
                  
                  
                
^
#[tokio::main] async fn main() { .. } you may need to add tokio to your Cargo.toml
Обсуждают сегодня