pub struct TurnResults { /* private fields */ }Expand description
Shared per-turn buffer of tool results inspected by MemoryTool::needs_approval (#482).
Cleared once at the start of each user turn (Agent::drive) and appended to as tool outcomes
finish, so needs_approval sees everything a prior tool call in this turn returned without
widening the Tool trait or special-casing memory in ToolRegistry::dispatch_scoped.
Implementations§
Trait Implementations§
Source§impl Debug for TurnResults
impl Debug for TurnResults
Auto Trait Implementations§
impl !Freeze for TurnResults
impl Forget for TurnResults
impl Move for TurnResults
impl RefUnwindSafe for TurnResults
impl Send for TurnResults
impl Sync for TurnResults
impl Unpin for TurnResults
impl UnsafeUnpin for TurnResultswhere
Align4<u32>: UnsafeUnpin,
Align1<u8>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<TurnResult>: UnsafeUnpin,
impl UnwindSafe for TurnResults
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