tokio 的任务是由 tokio::spawn 之类的函数产生的 JoinHandle 类型,而且是个 Future 。 而下面利用 #[tokio::main] 和await 编写了等价的版本(为了直观 ...
確定! 回上一頁