advance/async/pain-points-and-workarounds #839
Replies: 7 comments 1 reply
-
没有像Rust权威指南中那个活生生的例子,可以运动并解决某问题,我真的不太行 |
Beta Was this translation helpful? Give feedback.
-
场景好全,有些场景真是想不到。👍 |
Beta Was this translation helpful? Give feedback.
-
Trait 翻译成特征, 我半天没反应过来。建议保留 Trait 不翻译更好。 |
Beta Was this translation helpful? Give feedback.
-
好像从1.75版本开始,rust支持在trait中定义异步函数了 |
Beta Was this translation helpful? Give feedback.
-
目前rust版本已支持在特征中使用 async |
Beta Was this translation helpful? Give feedback.
-
trait 中定义 async 方法, 对于 pub trait 建议: |
Beta Was this translation helpful? Give feedback.
-
async fn bar_foo(){ #[tokio::main] 这里使用Box::pin没问题啊? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
advance/async/pain-points-and-workarounds
https://course.rs/advance/async/pain-points-and-workarounds.html
Beta Was this translation helpful? Give feedback.
All reactions