pub enum PendingKind {
Timer {
id: String,
},
Subagent {
handle: String,
},
Think {
child: NodeId,
},
Run {
run: String,
deadline_ms: u64,
},
Await {
condition: String,
deadline_ms: u64,
},
Human {
task: String,
question: String,
deadline_ms: u64,
standalone: bool,
auto_fired: bool,
},
}Variants§
Timer
A durable timer (sleep).
Subagent
A subagent result (subagent.run sync / subagent.await).
Think
A think child (think tool / context.compact).
Run
A run’s terminal state (workflow.run wait / workflow.wait).
Await
A CEL condition polled each tick (await).
Human
A human’s answer (ask_human / the human node — RFC 0032 §16): the
A2A task task sits in input-required; a SendMessage carrying its
taskId resolves this with the reply text. With no interface to answer
on, task is a synthetic ask id (no A2A task exists).
Trait Implementations§
Source§impl Clone for PendingKind
impl Clone for PendingKind
Source§fn clone(&self) -> PendingKind
fn clone(&self) -> PendingKind
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 moreAuto Trait Implementations§
impl Freeze for PendingKind
impl RefUnwindSafe for PendingKind
impl Send for PendingKind
impl Sync for PendingKind
impl Unpin for PendingKind
impl UnsafeUnpin for PendingKind
impl UnwindSafe for PendingKind
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