rust tokio 使用
摘要:
1、 主函数使用 new 一个 Runtime: let rt = tokio::runtime::Builder::new_multi_thread().enable_all().build().unwrap(); rt.block_on(async move { // some task wit 阅读全文
posted @ 2022-12-09 15:33 小弧光 阅读(954) 评论(0) 推荐(0)
公众号:小弧光黑板报
2022年12月9日 #
posted @ 2022-12-09 15:33 小弧光 阅读(954) 评论(0) 推荐(0)