[][src]Trait adaptive_backoff::backoff::BackoffBuilder

pub trait BackoffBuilder<T: Backoff> {
    pub fn build(&mut self) -> Result<T>;
}

Required methods

pub fn build(&mut self) -> Result<T>[src]

Loading content...

Implementors

impl BackoffBuilder<ExponentialBackoff> for ExponentialBackoffBuilder[src]

pub fn build(&mut self) -> Result<ExponentialBackoff>[src]

Build finishes the exponential backoff and returns it or an error.

Loading content...