Rustc explore session: @eholk session - dyn* and dyn async fns

Опубликовано: 06 Апрель 2026
на канале: Rust Programming Language
3,406
51

One of the major goals for async in Rust is to support async fn everywhere, including in trait objects. I will discuss our efforts to make this work. We'll see why this problem is hard and I'll introduce a new experimental feature called dyn* and show how this can help to enable async functions in trait objects. I'll show some of the implementation that's been done so far, what features are currently enabled, and discuss plans for the future of dyn* and async fn in traits.