You computed deadline - Instant::now() for a retry timeout. The deadline passed — and Rust silently returned zero. No panic, no Err, just a 0s budget some APIs read as "wait forever".
checked_duration_since returns None when time's up. Impossible to miss.
#rustlang
Random bite-sized Rust tips. Collection of notes of one curious developer on his journey to learn Rust.

