backon

Trait BackoffBuilder

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

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

BackoffBuilder is utilized to construct a new backoff.

Required Associated Types§

Source

type Backoff: Backoff

The associated backoff returned by this builder.

Required Methods§

Source

fn build(self) -> Self::Backoff

Construct a new backoff using the builder.

Implementors§