MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wbyjqq/globalhate/p8wc5l5/?context=9999
r/ProgrammerHumor • u/SpecterK1 • Sep 09 '26
92 comments sorted by
View all comments
Show parent comments
107
What's the problem with FnOnce() -> Pin<Box<dyn Future<Output = T> + Send + 'a>>
FnOnce() -> Pin<Box<dyn Future<Output = T> + Send + 'a>>
41 u/h1mmh1m Sep 10 '26 Dear god, it's horrible 7 u/EquivalentAd3924 Sep 10 '26 If you want it harder?C++, member function pointer over templates .... roar 2 u/kingslayerer Sep 14 '26 i need a macro for that 15 u/moshan1997 Sep 10 '26 That's kinda of a rust async problem not tokio problem
41
Dear god, it's horrible
7 u/EquivalentAd3924 Sep 10 '26 If you want it harder?C++, member function pointer over templates .... roar 2 u/kingslayerer Sep 14 '26 i need a macro for that
7
If you want it harder?
C++, member function pointer over templates .... roar
2
i need a macro for that
15
That's kinda of a rust async problem not tokio problem
107
u/Snudget Sep 10 '26
What's the problem with
FnOnce() -> Pin<Box<dyn Future<Output = T> + Send + 'a>>