News for hackers. Stuff that matters.
Re:Understanding Rust futures by going way too deep by richardwhiuk on Monday July 26, 2021 @04:45AM (#27957144)
You can do:

  pub fn try_join<A: Future<Output = Result<AR, E>>, B: Future<Output = Result<BR, E>>, AR, BR, E>(a: A, b: B) -> impl Future<Output = Result<(AR, BR), E>> {
Re:Understanding Rust futures by going way too deep by diragon on Monday July 26, 2021 @05:41AM (#27957460)
Rust truly is a better C++.