pub enum WaitReason {
Approval,
SubAgentJoin(Vec<TaskId>),
}Expand description
Why a suspended task is not runnable. Only the reasons production actually constructs exist; new wait states earn a variant when they earn a producer.
Variants§
Approval
Governance AskUser — waiting for SDK to resolve human approval.
SubAgentJoin(Vec<TaskId>)
Parent blocked on child tasks’ join results. Tracks pending child IDs.
Implementations§
Trait Implementations§
Source§impl Clone for WaitReason
impl Clone for WaitReason
Source§fn clone(&self) -> WaitReason
fn clone(&self) -> WaitReason
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 moreSource§impl Debug for WaitReason
impl Debug for WaitReason
Source§impl<'de> Deserialize<'de> for WaitReason
impl<'de> Deserialize<'de> for WaitReason
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 WaitReason
Source§impl PartialEq for WaitReason
impl PartialEq for WaitReason
Source§fn eq(&self, other: &WaitReason) -> bool
fn eq(&self, other: &WaitReason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WaitReason
impl Serialize for WaitReason
impl StructuralPartialEq for WaitReason
Auto Trait Implementations§
impl Freeze for WaitReason
impl RefUnwindSafe for WaitReason
impl Send for WaitReason
impl Sync for WaitReason
impl Unpin for WaitReason
impl UnsafeUnpin for WaitReason
impl UnwindSafe for WaitReason
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