pub struct ToolObserver { /* private fields */ }Expand description
Observes each model tool call so the dispatcher can emit an
ExecutionEvent::ToolCall just before the tool runs - giving the UI live
per-tool-call granularity during an AI node’s tool loop (the dispatcher
otherwise emits nothing per call). Cheap to clone (an Arc + two ids).
Implementations§
Trait Implementations§
Source§impl Clone for ToolObserver
impl Clone for ToolObserver
Source§fn clone(&self) -> ToolObserver
fn clone(&self) -> ToolObserver
Returns a duplicate of the value. Read more
1.0.0 · 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 ToolObserver
impl !RefUnwindSafe for ToolObserver
impl Send for ToolObserver
impl Sync for ToolObserver
impl Unpin for ToolObserver
impl UnsafeUnpin for ToolObserver
impl !UnwindSafe for ToolObserver
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