fn fail(&mut self) -> Duration {
        self.fail_factor += self.fail_mult;
        let delta = self.backoff.wait().div_f64(self.fail_factor);
        self.delay += delta;

        #[cfg(test)]
        trace!(
            "fail count now {}, delta {:?} added to delay, now @ {:?}",
            self.fail_factor,
            delta,
            self.delay
        );
        self.delay
    }
/// fail uses the backoff and adds it, divided by the fail factor, to
/// the running delay. It then returns the running delay.
fail uses the backoff and adds it, divided by the fail factor, to
the running delay. It then returns the running delay.
fail uses the backoff and adds it divided by the fail factor to the running delay . It then returns the running delay .
fn fail(&mut self) -> Duration {
        self.fail_factor += self.fail_mult;
        let delta = self.backoff.wait().div_f64(self.fail_factor);
        self.delay += delta;
        #[cfg(test)]
        trace!(
            "fail count now {}, delta {:?} added to delay, now @ {:?}",
            self.fail_factor,
            delta,
            self.delay
        );
        self.delay
    }
fn fail ( & mut self ) -> Duration { self . fail_factor += self . fail_mult ; let delta = self . backoff . wait ( ) . div_f64 ( self . fail_factor ) ; self . delay += delta ; # [ cfg ( test ) ] trace ! ( " " self fail_factor delta self delay ) ; self . delay }
fail uses the backoff and adds it, divided by the fail factor, to
the running delay.
fail uses the backoff and adds it divided by the fail factor to the running delay .
&mut self
&mut self