pub struct TransportRetryPolicy {
pub max_retries: u32,
pub initial_backoff: Duration,
pub max_backoff: Duration,
pub operation_deadline: Duration,
}Expand description
Bounded retry configuration for replay-safe transport operations.
Fields§
§max_retries: u32Maximum retries after the first attempt.
initial_backoff: DurationBackoff before the first retry.
max_backoff: DurationMaximum backoff between attempts.
operation_deadline: DurationTotal time allowed for the logical operation.
Trait Implementations§
Source§impl Clone for TransportRetryPolicy
impl Clone for TransportRetryPolicy
impl Copy for TransportRetryPolicy
Source§impl Debug for TransportRetryPolicy
impl Debug for TransportRetryPolicy
impl Eq for TransportRetryPolicy
Source§impl PartialEq for TransportRetryPolicy
impl PartialEq for TransportRetryPolicy
impl StructuralPartialEq for TransportRetryPolicy
Auto Trait Implementations§
impl Freeze for TransportRetryPolicy
impl RefUnwindSafe for TransportRetryPolicy
impl Send for TransportRetryPolicy
impl Sync for TransportRetryPolicy
impl Unpin for TransportRetryPolicy
impl UnsafeUnpin for TransportRetryPolicy
impl UnwindSafe for TransportRetryPolicy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more