Stabilizing `AsyncFnOnce::CallOnceClosure`, `AsyncFnMut::CallRefClosure` associated types?

⚓ Rust    📅 2025-09-04    👤 surdeus    👁️ 10      

surdeus

Warning

This post was published 89 days ago. The information described in this article may have changed.

Hello!

Any efforts or tracking on stabilizing said associated types? Without them, you can't basically have both AsyncFn* lifetime link and ability to add constraints like Send onto returned future.

While AsyncFn* traits landed recently, there seems to be no tracking issue for async_fn_traits in general.

Thanks

3 posts - 2 participants

Read full topic

🏷️ Rust_feed