Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 20
When should you prefer tokio::sync::Mutex over std::sync::Mutex in async code?
A
Only when the lock must be held across an .await; otherwise a std Mutex held briefly is faster
B
Never; tokio's mutex is deprecated
C
Always in async code
D
When data is Copy