pub struct TurnOutcome {
pub turn_id: TurnId,
pub context: Context,
pub result: TurnResult,
pub uncommitted_tool_batch: Option<ToolBatch>,
}Expand description
Materials returned on completion or controlled interruption.
Fields§
§turn_id: TurnIdIdentity supplied by the caller.
context: ContextAll successfully committed materials; still editable.
result: TurnResultThe selected terminal result.
uncommitted_tool_batch: Option<ToolBatch>Complete current batch whose declarations, but not results, were committed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TurnOutcome
impl RefUnwindSafe for TurnOutcome
impl Send for TurnOutcome
impl Sync for TurnOutcome
impl Unpin for TurnOutcome
impl UnsafeUnpin for TurnOutcome
impl UnwindSafe for TurnOutcome
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