Trait MakeBackoff
pub trait MakeBackoff
Trait used to construct Backoff trait implementors.
Associated Types
type Backoff: Backoff;The backoff type produced by this maker.
Required Methods
fn make_backoff(&mut self) -> Self::BackoffConstructs a new backoff type.
Implementors
impl<R> MakeBackoff for ExponentialBackoffMaker<R> where R: Rng + Clone,