Skip to main content

Module output_adapter

Module output_adapter 

Source
Expand description

Output adapter trait for handling print() results

This allows different execution modes (script vs REPL) to control how print() output is handled without heuristics.

Structs§

MockAdapter
Mock adapter for testing - captures output without printing
ReplAdapter
REPL output adapter - prints to stdout and preserves spans
SharedCaptureAdapter
Shared capture adapter for host integrations (server/notebook)
StdoutAdapter
Standard output adapter - prints to stdout and discards spans

Traits§

OutputAdapter
Trait for handling print() output