pub struct TerminalOutput;Expand description
Writes output directly to stdout/stderr with no formatting or sanitization.
Trait Implementations§
Source§impl UserOutput for TerminalOutput
impl UserOutput for TerminalOutput
fn info(&self, msg: &str)
fn warn(&self, msg: &str)
fn error(&self, msg: &str)
fn assistant_text(&self, text: &str)
fn tool_call(&self, tool_name: &str, input_preview: &str)
fn tool_ok(&self)
fn tool_err(&self, err_msg: &str)
Source§fn write_chunk(&self, chunk: &str)
fn write_chunk(&self, chunk: &str)
Emit a single streaming chunk of assistant text. Read more
Auto Trait Implementations§
impl Freeze for TerminalOutput
impl RefUnwindSafe for TerminalOutput
impl Send for TerminalOutput
impl Sync for TerminalOutput
impl Unpin for TerminalOutput
impl UnsafeUnpin for TerminalOutput
impl UnwindSafe for TerminalOutput
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