pub struct NullRenderer;Expand description
Null renderer: produces no output, only writes tracing logs. Suitable for scenarios like web backends that don’t need stdout.
Trait Implementations§
Source§impl EventRenderer for NullRenderer
impl EventRenderer for NullRenderer
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 Freeze for NullRenderer
impl RefUnwindSafe for NullRenderer
impl Send for NullRenderer
impl Sync for NullRenderer
impl Unpin for NullRenderer
impl UnsafeUnpin for NullRenderer
impl UnwindSafe for NullRenderer
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