pub struct JsonRenderer { /* private fields */ }Implementations§
Trait Implementations§
Source§impl OutputRenderer for JsonRenderer
impl OutputRenderer for JsonRenderer
fn text_chunk(&mut self, text: &str)
fn tool_status(&mut self, tool: &str)
Source§fn tool_result(&mut self, tool: &str, output: &str, is_read: bool)
fn tool_result(&mut self, tool: &str, output: &str, is_read: bool)
Called when a tool call completes.
is_read is true for file-read tools.fn permission_denied(&mut self, tool: &str)
fn error(&mut self, err: &str)
fn session_info(&mut self, id: &str)
fn done(&mut self)
Auto Trait Implementations§
impl Freeze for JsonRenderer
impl RefUnwindSafe for JsonRenderer
impl Send for JsonRenderer
impl Sync for JsonRenderer
impl Unpin for JsonRenderer
impl UnsafeUnpin for JsonRenderer
impl UnwindSafe for JsonRenderer
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