pub enum RestartDenial {
BudgetExceeded {
restarts_in_window: usize,
replacements_requested: usize,
maximum_restarts: u32,
},
ReleaseRejected(RestartReleaseFailure),
AttemptSequenceExhausted,
TimerGenerationExhausted,
TimerIdentityExhausted,
}Expand description
Why an otherwise eligible replacement set was denied.
Variants§
BudgetExceeded
ReleaseRejected(RestartReleaseFailure)
The configured release policy rejected the next delay.
AttemptSequenceExhausted
The per-trigger restart-attempt sequence could not advance.
TimerGenerationExhausted
The per-trigger timer generation could not advance.
TimerIdentityExhausted
No fresh local restart-timer identity remained.
Trait Implementations§
Source§impl Clone for RestartDenial
impl Clone for RestartDenial
Source§fn clone(&self) -> RestartDenial
fn clone(&self) -> RestartDenial
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 RestartDenial
impl Debug for RestartDenial
Source§impl PartialEq for RestartDenial
impl PartialEq for RestartDenial
impl Copy for RestartDenial
impl Eq for RestartDenial
impl StructuralPartialEq for RestartDenial
Auto Trait Implementations§
impl Freeze for RestartDenial
impl RefUnwindSafe for RestartDenial
impl Send for RestartDenial
impl Sync for RestartDenial
impl Unpin for RestartDenial
impl UnsafeUnpin for RestartDenial
impl UnwindSafe for RestartDenial
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