pub struct SyncRetryPolicy {
pub max_attempts: u32,
pub backoff_ms: u64,
pub max_queue_len: usize,
}Expand description
Retry and queue limits for follower push.
Fields§
§max_attempts: u32Maximum delivery attempts per flush, with zero treated as one.
backoff_ms: u64Fixed delay between attempts in milliseconds.
max_queue_len: usizeMaximum number of batches retained by the outbox.
Trait Implementations§
Source§impl Clone for SyncRetryPolicy
impl Clone for SyncRetryPolicy
Source§fn clone(&self) -> SyncRetryPolicy
fn clone(&self) -> SyncRetryPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SyncRetryPolicy
Source§impl Debug for SyncRetryPolicy
impl Debug for SyncRetryPolicy
Source§impl Default for SyncRetryPolicy
impl Default for SyncRetryPolicy
impl Eq for SyncRetryPolicy
Source§impl PartialEq for SyncRetryPolicy
impl PartialEq for SyncRetryPolicy
impl StructuralPartialEq for SyncRetryPolicy
Auto Trait Implementations§
impl Freeze for SyncRetryPolicy
impl RefUnwindSafe for SyncRetryPolicy
impl Send for SyncRetryPolicy
impl Sync for SyncRetryPolicy
impl Unpin for SyncRetryPolicy
impl UnsafeUnpin for SyncRetryPolicy
impl UnwindSafe for SyncRetryPolicy
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