pub enum PlanPhase {
DryRunAll,
BuildAll,
PublishAll,
Tag,
}Expand description
One phase of the coordinator’s irreversibility-ordered pipeline (ADR-0002
§2). The sequence is invariant across every plan; PlanPhase::sequence
yields it in order.
Variants§
DryRunAll
Dry-run every target (re-runnable, no side effects).
BuildAll
Build every target (re-runnable).
PublishAll
Publish every target (per-target irreversible).
Tag
Create + push the one shared git tag and GitHub Release (coordinator-only).
Implementations§
Source§impl PlanPhase
impl PlanPhase
Sourcepub fn as_str(self) -> &'static str
pub fn as_str(self) -> &'static str
The wire string for this phase (kebab-case; the single source the
Serialize impl also emits, so text and JSON never drift).
Sourcepub fn sequence() -> &'static [PlanPhase]
pub fn sequence() -> &'static [PlanPhase]
The invariant phase order a cut drives, dry-run-all → tag (borrowed view
of Self::SEQUENCE; no allocation).
Trait Implementations§
impl Copy for PlanPhase
impl Eq for PlanPhase
impl StructuralPartialEq for PlanPhase
Auto Trait Implementations§
impl Freeze for PlanPhase
impl RefUnwindSafe for PlanPhase
impl Send for PlanPhase
impl Sync for PlanPhase
impl Unpin for PlanPhase
impl UnsafeUnpin for PlanPhase
impl UnwindSafe for PlanPhase
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.