pub struct Backoff { /* private fields */ }
Expand description
Parameters for retrying queries with an exponential backoff.
Implementations
sourceimpl Backoff
impl Backoff
sourcepub fn builder() -> BackoffBuilder
pub fn builder() -> BackoffBuilder
Create a builder for retry backoff parameters.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Backoff
impl Send for Backoff
impl Sync for Backoff
impl Unpin for Backoff
impl UnwindSafe for Backoff
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more