pub struct NoopToolRuntimeHooks;Trait Implementations§
Source§impl Clone for NoopToolRuntimeHooks
impl Clone for NoopToolRuntimeHooks
Source§fn clone(&self) -> NoopToolRuntimeHooks
fn clone(&self) -> NoopToolRuntimeHooks
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 moreSource§impl Debug for NoopToolRuntimeHooks
impl Debug for NoopToolRuntimeHooks
Source§impl Default for NoopToolRuntimeHooks
impl Default for NoopToolRuntimeHooks
Source§fn default() -> NoopToolRuntimeHooks
fn default() -> NoopToolRuntimeHooks
Returns the “default value” for a type. Read more
Source§impl ToolRuntimeHooks for NoopToolRuntimeHooks
impl ToolRuntimeHooks for NoopToolRuntimeHooks
fn on_execution_start( &self, _tool_call: &ToolCall, _context: &ToolExecutionContext, )
fn on_execution_success( &self, _tool_call: &ToolCall, _context: &ToolExecutionContext, _result: &ToolExecutionResult, _elapsed: Duration, )
fn on_execution_failure( &self, _tool_call: &ToolCall, _context: &ToolExecutionContext, _error: &ToolError, _elapsed: Duration, )
impl Copy for NoopToolRuntimeHooks
Auto Trait Implementations§
impl Freeze for NoopToolRuntimeHooks
impl RefUnwindSafe for NoopToolRuntimeHooks
impl Send for NoopToolRuntimeHooks
impl Sync for NoopToolRuntimeHooks
impl Unpin for NoopToolRuntimeHooks
impl UnwindSafe for NoopToolRuntimeHooks
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