pub trait BackoffBuilder: Clone + Debug + Send + Sync + Unpin {
    type Backoff: Backoff;

    // Required method
    fn build(&self) -> Self::Backoff;
}
Expand description

BackoffBuilder is used to build a new backoff.

Required Associated Types§

source

type Backoff: Backoff

The associated backoff that returned by this builder.

Required Methods§

source

fn build(&self) -> Self::Backoff

Builder a new backoff via builder.

Object Safety§

This trait is not object safe.

Implementors§