backoff
Module: authority_client::backoff
Section titled “Module: authority_client::backoff”Contents
Section titled “Contents”Structs
ExponentialBackoff- Exponential backoff for reconnect loops.
firma_sidecar::authority_client::backoff::ExponentialBackoff
Section titled “firma_sidecar::authority_client::backoff::ExponentialBackoff”Struct
Exponential backoff for reconnect loops.
Methods:
fn new(min: Duration, max: Duration) -> Self- Build a new backoff usingminas the first delay andmaxas cap.fn next(self: & mut Self) -> Duration- Return the next jittered delay and advance the internal state.fn reset(self: & mut Self)- Reset to the minimum delay.