pub struct RenewalConfig {
pub period: Duration,
pub jitter: Duration,
pub first_delay: Duration,
pub backoff_min: Duration,
pub backoff_max: Duration,
pub max_pages: u32,
pub skip_poll: Duration,
}Expand description
Timing of the pull.
Fields§
§period: DurationBetween successful passes (12 h).
jitter: DurationUp to this much is added to each period, at random.
first_delay: DurationDelay of the first pass after start.
backoff_min: DurationFirst backoff after a failed pass; doubles each time.
backoff_max: DurationLongest backoff.
max_pages: u32Most catch-up pages followed in one pass.
skip_poll: DurationDelay of the next pass while passes are skipped (no binding naming this node yet): a binding that arrives later is renewed this soon.
Trait Implementations§
Source§impl Clone for RenewalConfig
impl Clone for RenewalConfig
Source§impl Debug for RenewalConfig
impl Debug for RenewalConfig
Auto Trait Implementations§
impl Freeze for RenewalConfig
impl RefUnwindSafe for RenewalConfig
impl Send for RenewalConfig
impl Sync for RenewalConfig
impl Unpin for RenewalConfig
impl UnsafeUnpin for RenewalConfig
impl UnwindSafe for RenewalConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more