pub enum BufferAction {
Emit(Vec<Part>),
Buffering,
}Available on crate feature
models only.Expand description
Action returned by ToolCallBuffer::push().
Variants§
Emit(Vec<Part>)
Emit these parts immediately (text or parsed tool calls).
Buffering
Still buffering — don’t emit anything yet.
Auto Trait Implementations§
impl Freeze for BufferAction
impl RefUnwindSafe for BufferAction
impl Send for BufferAction
impl Sync for BufferAction
impl Unpin for BufferAction
impl UnsafeUnpin for BufferAction
impl UnwindSafe for BufferAction
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