pub fn with_max_delay(
        mut self,
        max: Duration,
    ) -> Self {
        self.max_delay = Some(max);
        self
    }
/// Limits the maximum length of delay between retries
Limits the maximum length of delay between retries
Limits the maximum length of delay between retries
pub fn with_max_delay(
        mut self,
        max: Duration,
    ) -> Self {
        self.max_delay = Some(max);
        self
    }
pub fn with_max_delay ( mut self , max : Duration , ) -> Self { self . max_delay = Some ( max ) ; self }
Limits the maximum length of delay between retries
Limits the maximum length of delay between retries
mut self
max
Duration
mut self
max
Duration