下面给出用task_scope 实现之前例子的伪代码。 let scope = Scope::new(); scope.run(|spawner| async { spawner.spawn ...
確定! 回上一頁