4 ms·
Correct, libraries do have to either pick a specific async IO library or use a trait for async IO. I have seen some of the latter in embedded-land, although I'
by wyager 2y ago
Correct, libraries do have to either pick a specific async IO library or use a trait for async IO.
I have seen some of the latter in embedded-land, although I'm not sure if it's used in desktop async rust as well.
The rust compiler currently discourages async traits with a warning, which seems wrong to me, but we use them extensively in embedded anyway.
- anonymoushn 2y agoThe feature is less than 1 year old, so a lot of the ecosystem couldn't use the feature because of being written before the feature existed. It does seem silly to have a warning today.