struct StreamTextPrinter {
enabled: bool,
started: bool,
saw_tool_call: bool,
last_was_newline: bool,
state: StreamPrintState,
buf: String,
}Fields§
§enabled: bool§started: bool§saw_tool_call: bool§last_was_newline: bool§state: StreamPrintState§buf: StringImplementations§
Auto Trait Implementations§
impl Freeze for StreamTextPrinter
impl RefUnwindSafe for StreamTextPrinter
impl Send for StreamTextPrinter
impl Sync for StreamTextPrinter
impl Unpin for StreamTextPrinter
impl UnsafeUnpin for StreamTextPrinter
impl UnwindSafe for StreamTextPrinter
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