pub struct ToolStream { /* private fields */ }Expand description
Splits streamed text into plain text and <tool_call>…</tool_call> calls, holding back a
possible partial tag at the end of a chunk.
Implementations§
Trait Implementations§
Source§impl Debug for ToolStream
impl Debug for ToolStream
Auto Trait Implementations§
impl Forget for ToolStream
impl Freeze for ToolStream
impl Move for ToolStream
impl RefUnwindSafe for ToolStream
impl Send for ToolStream
impl Sync for ToolStream
impl Unpin for ToolStream
impl UnsafeUnpin for ToolStream
impl UnwindSafe for ToolStream
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