pub enum TurnPlan {
ScheduleReason(TurnState),
ScheduleAct(ActPlan),
Complete {
stop_reason: TurnStopReason,
error: Option<String>,
},
WaitForToolResults {
resume: TurnState,
},
}Expand description
Generic next-step decision for a host turn.
This intentionally stops at the semantic boundary:
- the engine decides what should happen next
- the host decides how to persist, enqueue, retry, or resume it
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TurnPlan
impl RefUnwindSafe for TurnPlan
impl Send for TurnPlan
impl Sync for TurnPlan
impl Unpin for TurnPlan
impl UnsafeUnpin for TurnPlan
impl UnwindSafe for TurnPlan
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