tokio 官方给了一个完整的例子:手动构建runtime ,利用block_on 来运行多个任务。tokio 的任务是由 tokio::spawn 之类的函数产生的 JoinHandle ...
確定! 回上一頁