pub enum NextAction {
Triage,
Answer,
Pr,
ReviewPr,
Do,
Redispatch,
Dispatch,
}Expand description
The verb a task’s queue row asks of the human (DESIGN.md §3), derived from state × fields rather than stored.
Variants§
Triage
An untriaged proposal: accept, park, or reject it.
Answer
A question is waiting; answering it unblocks the work.
Pr
A review task with no tracked PR: open one from its done-time summary.
ReviewPr
A review task whose PR is open: review it there.
Do
A ready human-only task: only the human can execute it.
Redispatch
A stalled task: its dispatch died, restart it with the prior session’s context.
Dispatch
A ready task an agent can take: hand it to one.
Implementations§
Trait Implementations§
Source§impl Clone for NextAction
impl Clone for NextAction
Source§fn clone(&self) -> NextAction
fn clone(&self) -> NextAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NextAction
Source§impl Debug for NextAction
impl Debug for NextAction
Source§impl Display for NextAction
impl Display for NextAction
impl Eq for NextAction
Source§impl Hash for NextAction
impl Hash for NextAction
Source§impl PartialEq for NextAction
impl PartialEq for NextAction
impl StructuralPartialEq for NextAction
Auto Trait Implementations§
impl Freeze for NextAction
impl RefUnwindSafe for NextAction
impl Send for NextAction
impl Sync for NextAction
impl Unpin for NextAction
impl UnsafeUnpin for NextAction
impl UnwindSafe for NextAction
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
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
Compare self to
key and return true if they are equal.