#[non_exhaustive]pub enum Task {
Init,
Plan {
feature_slug: String,
},
DevPhase {
name: String,
feature_slug: String,
},
Review {
feature_slug: String,
},
Verify {
feature_slug: String,
},
CreatePr {
feature_slug: String,
},
}Expand description
A unit of work in CODA’s execution pipeline.
Each CLI command or execution phase maps to a Task variant.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Init
Initialize a repository as a CODA project.
Plan
Plan a new feature interactively.
DevPhase
A development phase derived from the design spec’s “Development Phases” section.
Fields
Review
Review the implemented code for issues.
Verify
Verify the implementation against the verification plan.
CreatePr
Create a pull request after all phases complete.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Task
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnsafeUnpin for Task
impl UnwindSafe for Task
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