pub fn incr(&mut self) -> u64 {
        use self::FeedbackAlgorithm::*;
        self.curr = match self.algo {
            AIMD => self.curr + self.incr,
            MIMD => self.curr * self.incr,
        }
        .min(self.max);
        self.curr
    }
/// Increments the current value, clamping it at the configured maximum.
/// The updated value is returned.
Increments the current value, clamping it at the configured maximum.
The updated value is returned.
Increments the current value clamping it at the configured maximum . The updated value is returned .
pub fn incr(&mut self) -> u64 {
        use self::FeedbackAlgorithm::*;
        self.curr = match self.algo {
            AIMD => self.curr + self.incr,
            MIMD => self.curr * self.incr,
        }
        .min(self.max);
        self.curr
    }
pub fn incr ( & mut self ) -> u64 { use self :: FeedbackAlgorithm :: * ; self . curr = match self . algo { AIMD => self . curr + self . incr , MIMD => self . curr * self . incr , } . min ( self . max ) ; self . curr }
Increments the current value, clamping it at the configured maximum.
Increments the current value clamping it at the configured maximum .
&mut self
&mut self