Simple names
One simple way to give names to async functions is to just generate a name based on the method. For example:
could desugar to
Users could then name the future with <T as AsyncIterator>::Next<'a>
.
This is a simple solution, but not a very general one, and perhaps a bit surprising (for example, there is no explicit declaration of Next
).