tldr: Generics and function overloading don't play along well. Quoting boats here:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
|
What is the reason for not having overloaded versions of fn?
|
7 | 976 | February 6, 2021 | |
| Dubtious ambiguity resolution for trait fns with the same name but different prototypes | 10 | 1382 | December 6, 2021 | |
| Overloading with tuples | 6 | 1424 | March 7, 2022 | |
| Discussion about overloading (forked from Pre-RFC: Named arguments) | 4 | 1020 | October 11, 2022 | |
| Post: Async Overloading | 17 | 1744 | November 25, 2021 |