pub enum ExpirePhase {
AttemptTimeout,
ExecutionDeadline,
}Expand description
Which scanner invoked EngineBackend::expire_execution.
The attempt-timeout and execution-deadline scanners share a single trait method — their underlying state flip is identical (terminate or retry per retry policy); the distinction is purely diagnostic (which deadline elapsed) and carried through to the backend so the same Lua / SQL path can log or tag appropriately.
Variants§
AttemptTimeout
Invoked by attempt_timeout scanner — the per-attempt
wall-clock budget elapsed.
ExecutionDeadline
Invoked by execution_deadline scanner — the whole-execution
wall-clock deadline elapsed.
Implementations§
Trait Implementations§
Source§impl Clone for ExpirePhase
impl Clone for ExpirePhase
Source§fn clone(&self) -> ExpirePhase
fn clone(&self) -> ExpirePhase
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 ExpirePhase
impl Debug for ExpirePhase
Source§impl PartialEq for ExpirePhase
impl PartialEq for ExpirePhase
impl Copy for ExpirePhase
impl Eq for ExpirePhase
impl StructuralPartialEq for ExpirePhase
Auto Trait Implementations§
impl Freeze for ExpirePhase
impl RefUnwindSafe for ExpirePhase
impl Send for ExpirePhase
impl Sync for ExpirePhase
impl Unpin for ExpirePhase
impl UnsafeUnpin for ExpirePhase
impl UnwindSafe for ExpirePhase
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