Re:Rust to stabilize `async fn` and return-position `impl Tr...
by kurtbuilds on Thursday December 21, 2023 @12:41PM
(#38723747)
Can you elaborate on why the `mixing` approach doesn't work? Specifically, if you want send bounds, doing this:
[ Parent
| on HN ]
Re:Rust to stabilize `async fn` and return-position `impl Tr...
by gdcbe on Thursday December 21, 2023 @01:05PM
(#38724128)
Of course that works. But only as long as everything is always hardcoded as Send. Which is a known limitation, so no complaints.
Edit: also the problem is about the method async returned future trait bounds, not the Self.