pub enum Action {
}Variants§
Triage(Triage)
proposed → parked | ready | rejected
Start
ready | stalled → running (dispatch or redispatch, or the human starting by hand)
Ask(String)
running → needs-input; the string is the question
Answer(String)
needs-input → running; the answer is appended to the body and logged
Complete(Option<String>)
running | stalled → review; the optional string is the completion
summary, logged as a summary event. From stalled it reports a dead
session’s finished work on its behalf (DESIGN.md §8).
HandOff
review → waiting; hand the work off to an external party (a PR awaiting someone else’s review or merge), asking nothing of the operator (§6).
Reclaim
waiting → review; pull the work back when it is the operator’s move
again — the manual inverse of HandOff (§6).
Accept
review | waiting → done
RejectWork(String)
review | waiting → running; the string is the feedback, appended to the body
Abort
running → ready
Park
ready | stalled → parked (deliberate parking)
Unpark
parked → ready (manual unpark)
Abandon
parked | ready | needs-input | review | waiting | stalled → rejected
Trait Implementations§
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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.