pub enum RecoveryDenialReason {
RecoveryTicketsExhausted,
RestartTimersExhausted,
RestartLimitReached {
active: u32,
requested: NonZeroUsize,
maximum: u32,
},
ClockRegressed {
previous: Instant,
observed: Instant,
},
RecoveryCountExhausted {
admitted: u32,
},
ReleaseCalculationFailed(RestartReleaseFailure),
}Expand description
Exact reason an otherwise prepared fixed-roster recovery was denied.
Variants§
RecoveryTicketsExhausted
The supervisor cannot issue another non-reused recovery ticket.
RestartTimersExhausted
The supervisor cannot issue another non-reused restart-timer identity.
RestartLimitReached
The active inclusive-window charge plus this request exceeds the limit.
Fields
§
requested: NonZeroUsizePositive replacement count requested by this complete recovery.
ClockRegressed
The interpreter-authored stop time regressed.
Fields
RecoveryCountExhausted
The triggering role’s checked lifetime recovery count cannot advance.
ReleaseCalculationFailed(RestartReleaseFailure)
Checked release-delay calculation failed.
Trait Implementations§
Source§impl Clone for RecoveryDenialReason
impl Clone for RecoveryDenialReason
Source§fn clone(&self) -> RecoveryDenialReason
fn clone(&self) -> RecoveryDenialReason
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 RecoveryDenialReason
impl Debug for RecoveryDenialReason
Source§impl PartialEq for RecoveryDenialReason
impl PartialEq for RecoveryDenialReason
impl Copy for RecoveryDenialReason
impl Eq for RecoveryDenialReason
impl StructuralPartialEq for RecoveryDenialReason
Auto Trait Implementations§
impl Freeze for RecoveryDenialReason
impl RefUnwindSafe for RecoveryDenialReason
impl Send for RecoveryDenialReason
impl Sync for RecoveryDenialReason
impl Unpin for RecoveryDenialReason
impl UnsafeUnpin for RecoveryDenialReason
impl UnwindSafe for RecoveryDenialReason
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