pub enum OrchestrationToolKind {
Spawn,
Await,
Cancel,
Kill,
Status,
List,
Timeout,
Race,
YieldInterrupt,
Steer,
}Expand description
Model-visible orchestration tool set.
Variants§
Spawn
Start managed child work.
Await
Wait for one or more tasks.
Cancel
Request cooperative cancellation.
Kill
Mark live work abandoned after requesting cancellation.
Status
Inspect one task.
List
List tasks visible to the current run/thread.
Timeout
Apply or update a deadline.
Race
Wait for the first acceptable task result.
YieldInterrupt
Pause orchestration behind a durable interrupt.
Steer
Send policy-checked steering input to a child task.
Implementations§
Trait Implementations§
Source§impl Clone for OrchestrationToolKind
impl Clone for OrchestrationToolKind
Source§fn clone(&self) -> OrchestrationToolKind
fn clone(&self) -> OrchestrationToolKind
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 OrchestrationToolKind
Source§impl Debug for OrchestrationToolKind
impl Debug for OrchestrationToolKind
Source§impl<'de> Deserialize<'de> for OrchestrationToolKind
impl<'de> Deserialize<'de> for OrchestrationToolKind
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 OrchestrationToolKind
Source§impl Hash for OrchestrationToolKind
impl Hash for OrchestrationToolKind
Source§impl PartialEq for OrchestrationToolKind
impl PartialEq for OrchestrationToolKind
Source§impl Serialize for OrchestrationToolKind
impl Serialize for OrchestrationToolKind
impl StructuralPartialEq for OrchestrationToolKind
Auto Trait Implementations§
impl Freeze for OrchestrationToolKind
impl RefUnwindSafe for OrchestrationToolKind
impl Send for OrchestrationToolKind
impl Sync for OrchestrationToolKind
impl Unpin for OrchestrationToolKind
impl UnsafeUnpin for OrchestrationToolKind
impl UnwindSafe for OrchestrationToolKind
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