use async_std::task; async fn say_hello() { println!("Hello, world!"); } fn main() { task::block_on(say_hello()) }. More examples, including networking and ...
確定! 回上一頁