pub fn lock_within_file(file: &File, budget: Duration) -> Result<bool>
Bounded retry of try_lock_once; true when acquired within budget.
try_lock_once
true
budget
Backoff is exponential with jitter, starting at ~2 ms and capped at ~50 ms.