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