4 ms·
I'm currently writing an async rust application. I think the biggest thing to avoid coding yourself into a corner with async rust is to prefer transferring owne
by RazeLighter777 4y ago
I'm currently writing an async rust application. I think the biggest thing to avoid coding yourself into a corner with async rust is to prefer transferring ownership over using references when possible. Channels are a great way of doing this, and likewise communicating with sync code