async/await (rs)
https://tech-blog.optim.co.jp/entry/2019/11/08/163000
こう書くと
code:rs
async fn async_function() -> i32 {
0
}
コンパイラ内部でこう変換される
code:rs
fn async_function() -> impl Future<Output = i32> {
UnknownObject::new()
}