pub struct JsonStreamRenderer { /* private fields */ }Expand description
JSON stream renderer: outputs one JSON line per event (JSONL format). Suitable for IDE integrations and programmatic consumers.
Implementations§
Trait Implementations§
Source§impl EventRenderer for JsonStreamRenderer
impl EventRenderer for JsonStreamRenderer
Source§fn render(&mut self, event: RuntimeEvent) -> AgentResult<()>
fn render(&mut self, event: RuntimeEvent) -> AgentResult<()>
Process one runtime event.
Source§fn finish_turn(&mut self) -> AgentResult<()>
fn finish_turn(&mut self) -> AgentResult<()>
End of current turn — renderer may flush / output summary.
Source§fn finish_session(&mut self) -> AgentResult<()>
fn finish_session(&mut self) -> AgentResult<()>
End of entire session.
Auto Trait Implementations§
impl !RefUnwindSafe for JsonStreamRenderer
impl !Sync for JsonStreamRenderer
impl !UnwindSafe for JsonStreamRenderer
impl Freeze for JsonStreamRenderer
impl Send for JsonStreamRenderer
impl Unpin for JsonStreamRenderer
impl UnsafeUnpin for JsonStreamRenderer
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