The Rust Async Working Group announces the progress of enabling 'async fn' in traits. Rust 1.75 includes support for '-> impl Trait' notation and 'async fn' in traits. The use of '-> impl Trait' and 'async fn' in public traits is discouraged due to limitations and the inability to put additional bounds on the return type. The

7m read timeFrom blog.rust-lang.org
Post cover image
Table of contents
What's stabilizingWhere the gaps lieHow we hope to improve in the futureFrequently asked questionsConclusion

Sort: