pub struct ToolCallParser { /* private fields */ }Expand description
Stateful streaming parser. Feed each tool_call_delta value as it
arrives; call finish to drain the accumulated calls.
Implementations§
Auto Trait Implementations§
impl Freeze for ToolCallParser
impl RefUnwindSafe for ToolCallParser
impl Send for ToolCallParser
impl Sync for ToolCallParser
impl Unpin for ToolCallParser
impl UnsafeUnpin for ToolCallParser
impl UnwindSafe for ToolCallParser
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