Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 613
What does tokio::time::timeout(dur, fut) do when the duration elapses?
A
Panics
B
Returns Err(Elapsed) and drops the inner future, cancelling it
C
Lets the future continue in the background
D
Retries the future