#[non_exhaustive]pub enum Retry {
AtRenewal,
Backoff,
}Expand description
When the next automatic registration attempt goes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AtRenewal
One renewal interval after the attempt before started, whatever came of it. A Distribute-Broadcast-To-Network NAK from the BBMD changes nothing.
Backoff
After a failure, sooner: one response timeout after it, doubling
with each failure in a row, and never later than
Retry::AtRenewal would. After a success, one renewal interval
into the lease it proved, which is at once when that lease started
with an earlier, unanswered attempt. A Distribute-Broadcast-To-Network
NAK from the BBMD that answers nothing pulls the next attempt forward
(Node::resolve).
Trait Implementations§
impl Copy for Retry
impl Eq for Retry
impl StructuralPartialEq for Retry
Auto Trait Implementations§
impl Freeze for Retry
impl RefUnwindSafe for Retry
impl Send for Retry
impl Sync for Retry
impl Unpin for Retry
impl UnsafeUnpin for Retry
impl UnwindSafe for Retry
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