在Rust 中,所有的代码块都要有返回值,而 async 代码块返回的值的类型是 Future ... task::block_on(async { task::sleep(Duration::from_millis(10000)).await; })
確定! 回上一頁