pub enum Step {
Recheck,
Prepare,
Drain,
Start,
Verify,
Validate,
Commit,
Retire,
}Expand description
One operation supplied by an application adapter.
Variants§
Recheck
Re-read selection under the transaction lock. Unchanged skips replacement.
Prepare
Validate the artifact and capture application preparation state.
Drain
Close incumbent admission and release exclusive resources.
Start
Launch the candidate through its process owner.
Verify
Obtain a live identity/readiness proof. Pending retries this step only.
Validate
Revalidate selection and application preparation after the live proof.
Commit
Atomically select the verified candidate; never return an error after committing.
Retire
Start retiring the incumbent. Pending keeps its obligations alive.
Trait Implementations§
impl Copy for Step
impl Eq for Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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