this post was submitted on 26 Aug 2021
13 points (100.0% liked)

Rust Programming

8438 readers
26 users here now

founded 5 years ago
MODERATORS
 

Using async Rust libraries is usually easy. It's just like using normal Rust code, with a little async or .await here and there. But writing your own async libraries can be hard. The first time I tried this, I got really confused by arcane, esoteric syntax like T: ?Unpin and Pin<&mut Self>. I had never seen these types before, and I didn't understand what they were doing. Now that I understand them, I've written the explainer I wish I could have read back then.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here