pub enum PlanPhase {
DryRunAll,
BuildAll,
PublishAll,
Tag,
Dist,
}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).
Dist
Post-tag distribution finalize: targets whose artifact only exists after the
tag (the Homebrew formula, whose url is the just-created tag archive) are
finalized with the real, post-tag-computed sha256.
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 → dist (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
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
key and return true if they are equal.