Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 10
What does 'cancellation safety' mean for a future used in select! in a loop?
A
It uses no locks
B
It can't be cancelled
C
Dropping it before completion loses no data; e.g. mpsc::Receiver::recv is cancel-safe, but read_exact into a buffer is not
D
It never allocates