pub fn full_jitter(cap_ms: u64) -> u64Expand description
Returns a pseudo-random value in [0, cap_ms].
We deliberately avoid pulling in the rand crate for a jitter source: the
sub-nanosecond component of the wall clock is more than enough entropy to
stagger retries, which is all full jitter needs.