pub struct SourceErrorBackoffConfig {
pub base_delay: Duration,
pub max_delay: Duration,
pub jitter_ratio: f32,
}Expand description
Exponential backoff policy for source-side polling errors.
Fields§
§base_delay: Duration§max_delay: Duration§jitter_ratio: f32Trait Implementations§
Source§impl Clone for SourceErrorBackoffConfig
impl Clone for SourceErrorBackoffConfig
Source§fn clone(&self) -> SourceErrorBackoffConfig
fn clone(&self) -> SourceErrorBackoffConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SourceErrorBackoffConfig
impl Debug for SourceErrorBackoffConfig
Auto Trait Implementations§
impl Freeze for SourceErrorBackoffConfig
impl RefUnwindSafe for SourceErrorBackoffConfig
impl Send for SourceErrorBackoffConfig
impl Sync for SourceErrorBackoffConfig
impl Unpin for SourceErrorBackoffConfig
impl UnsafeUnpin for SourceErrorBackoffConfig
impl UnwindSafe for SourceErrorBackoffConfig
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