pub struct ToolCallRuntime { /* private fields */ }Expand description
Manages concurrent tool execution via a read/write lock.
Parallel-safe tools acquire a read lock (allowing overlap), while serial tools acquire a write lock (exclusive access). Reentrant calls (e.g. a tool invoking another tool) skip locking to avoid deadlock.
Trait Implementations§
Source§impl Debug for ToolCallRuntime
impl Debug for ToolCallRuntime
Auto Trait Implementations§
impl !RefUnwindSafe for ToolCallRuntime
impl !UnwindSafe for ToolCallRuntime
impl Freeze for ToolCallRuntime
impl Send for ToolCallRuntime
impl Sync for ToolCallRuntime
impl Unpin for ToolCallRuntime
impl UnsafeUnpin for ToolCallRuntime
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