pub enum TaskChainPhase {
Planning,
AwaitingPlanAcceptance,
PlannerQuestion,
Implementing,
ImplementerQuestion,
Failed,
Canceled,
Succeeded,
}Expand description
Workflow presentation derived from the current attempt and saved response. Success records execution, never implicit acceptance of a plan or outcome.
Variants§
Planning
Planner attempt is queued or executing, including post-processing.
AwaitingPlanAcceptance
Latest successful Planner response needs explicit user acceptance.
PlannerQuestion
Planner has questions that need an explicit continuation.
Implementing
Accepted plan is being implemented, including post-processing.
ImplementerQuestion
Implementer has questions that need an explicit continuation.
Failed
Current stage failed or was interrupted; retry is always explicit.
Canceled
Cancellation requested; an explicit new attempt may retry the stage.
Succeeded
Implementer finished successfully; the session remains reviewable.
Trait Implementations§
Source§impl Clone for TaskChainPhase
impl Clone for TaskChainPhase
impl Copy for TaskChainPhase
Source§impl Debug for TaskChainPhase
impl Debug for TaskChainPhase
impl Eq for TaskChainPhase
Source§impl PartialEq for TaskChainPhase
impl PartialEq for TaskChainPhase
impl StructuralPartialEq for TaskChainPhase
Auto Trait Implementations§
impl Freeze for TaskChainPhase
impl RefUnwindSafe for TaskChainPhase
impl Send for TaskChainPhase
impl Sync for TaskChainPhase
impl Unpin for TaskChainPhase
impl UnsafeUnpin for TaskChainPhase
impl UnwindSafe for TaskChainPhase
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