pub enum RewritePhase {
Validate,
Stage,
Canary,
Cutover,
Cleanup,
Commit,
Rollback,
}Expand description
Rewrite plan phases.
Follows the grafOS rewrite lifecycle: Validate -> Stage -> [Canary] -> Cutover -> Cleanup -> Commit, with Rollback possible from any pre-Cleanup phase.
Variants§
Validate
Schema and constraint validation.
Stage
Resources staged for cutover.
Canary
Canary evaluation (optional).
Cutover
Atomic cutover to new bindings.
Cleanup
Post-cutover cleanup of old bindings.
Commit
Durable audit and generation bumps.
Rollback
Rollback to previous state (failure path).
Trait Implementations§
Source§impl Clone for RewritePhase
impl Clone for RewritePhase
Source§fn clone(&self) -> RewritePhase
fn clone(&self) -> RewritePhase
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 RewritePhase
impl Debug for RewritePhase
Source§impl Display for RewritePhase
impl Display for RewritePhase
Source§impl PartialEq for RewritePhase
impl PartialEq for RewritePhase
impl Copy for RewritePhase
impl Eq for RewritePhase
impl StructuralPartialEq for RewritePhase
Auto Trait Implementations§
impl Freeze for RewritePhase
impl RefUnwindSafe for RewritePhase
impl Send for RewritePhase
impl Sync for RewritePhase
impl Unpin for RewritePhase
impl UnwindSafe for RewritePhase
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