Skip to main content

apply_jitter

Function apply_jitter 

Source
pub fn apply_jitter(delay: Duration, percent: u16) -> Duration
Expand description

Applies an explicit percentage to a delay, saturating at Duration::MAX.