pub trait OutputHandler: Send + Sync {
// Required method
fn write(&self, stream: OutputStream, text: &str) -> Result<(), String>;
}Expand description
Host-side output handler for Ion’s io::print* functions.
Embedders install an implementation with Engine::set_output or
Engine::with_output. The core runtime never writes directly to process
stdout/stderr through io::print*.