pub enum TaskState {
Submitted,
Working,
InputRequired,
Completed,
Failed,
Canceled,
}Expand description
Tracker-visible work item lifecycle (A2A-semantically-verbatim, snake-normalized).
Variants§
Trait Implementations§
impl Copy for TaskState
Source§impl<'de> Deserialize<'de> for TaskState
impl<'de> Deserialize<'de> for TaskState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TaskState
Source§impl Ord for TaskState
impl Ord for TaskState
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for TaskState
impl PartialOrd for TaskState
Source§impl StateMachine for TaskState
impl StateMachine for TaskState
Source§const ESCAPE: &'static [Self]
const ESCAPE: &'static [Self]
The escape set: states an executor may enter WITHOUT fabricating
progress (cancellation / failure / unknown paths). The reachability
invariant requires every non-terminal to reach a terminal using only
edges INTO this set. Empty = plain totality (the command FSM, where a
sweep legitimately drives forward).
Source§fn is_terminal(self) -> bool
fn is_terminal(self) -> bool
Terminal = no outgoing edges. Derived from
Self::EDGES, so the
table cannot disagree with it.fn can_transition(from: Self, to: Self) -> bool
impl StructuralPartialEq for TaskState
Source§impl TransitionGuard for TaskState
impl TransitionGuard for TaskState
Auto Trait Implementations§
impl Freeze for TaskState
impl RefUnwindSafe for TaskState
impl Send for TaskState
impl Sync for TaskState
impl Unpin for TaskState
impl UnsafeUnpin for TaskState
impl UnwindSafe for TaskState
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