pub enum AgentNodeState {
Pending,
Running,
HandoffReady,
AwaitingMerge,
Succeeded,
Blocked,
Failed,
Cancelled,
Invalidated,
}Expand description
Durable state of one scheduler node.
Variants§
Pending
Waiting for all proof-barrier dependencies.
Running
Provider-backed execution is in progress.
HandoffReady
Worker handoff is persisted and awaits both review gates.
AwaitingMerge
Reviewer or adversary receipt is persisted and awaits fan-in.
Succeeded
Node and its required fan-in completed.
Blocked
A visible prerequisite or policy gate blocked the node.
Failed
Node execution or verification failed.
Cancelled
Graph or parent cancellation reached the node.
Invalidated
Previously produced work became stale or conflicting.
Implementations§
Source§impl AgentNodeState
impl AgentNodeState
Sourcepub const fn is_terminal(self) -> bool
pub const fn is_terminal(self) -> bool
Returns whether no future scheduler transition may leave this state.
Trait Implementations§
Source§impl Clone for AgentNodeState
impl Clone for AgentNodeState
Source§fn clone(&self) -> AgentNodeState
fn clone(&self) -> AgentNodeState
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 AgentNodeState
Source§impl Debug for AgentNodeState
impl Debug for AgentNodeState
Source§impl<'de> Deserialize<'de> for AgentNodeState
impl<'de> Deserialize<'de> for AgentNodeState
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 AgentNodeState
Source§impl Ord for AgentNodeState
impl Ord for AgentNodeState
Source§fn cmp(&self, other: &AgentNodeState) -> Ordering
fn cmp(&self, other: &AgentNodeState) -> Ordering
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 PartialEq for AgentNodeState
impl PartialEq for AgentNodeState
Source§impl PartialOrd for AgentNodeState
impl PartialOrd for AgentNodeState
Source§impl Serialize for AgentNodeState
impl Serialize for AgentNodeState
impl StructuralPartialEq for AgentNodeState
Auto Trait Implementations§
impl Freeze for AgentNodeState
impl RefUnwindSafe for AgentNodeState
impl Send for AgentNodeState
impl Sync for AgentNodeState
impl Unpin for AgentNodeState
impl UnsafeUnpin for AgentNodeState
impl UnwindSafe for AgentNodeState
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