Skip to content

Futures practice problems in Rust

Difficulty:
Category:
Tag:

Showing 8 of 8

Status Title Difficulty
Cancellation is just: stop polling and drop Medium
Capstone: an async executor with a logical-time reactor Hard
Countdown futures and the shape of `Pending` Easy
Futures are lazy: nothing happens until you poll Easy
Hand-compile an `async fn` into a state machine Hard
`poll_fn`: a future from a closure Easy
The `Future` trait: `Output`, `Poll`, and your first hand-written future Easy
`Unpin` in practice: making `Pin<&mut Self>` usable without unsafe Medium