pub trait UiSink {
// Required methods
fn write_stdout(&mut self, text: &str);
fn write_stderr(&mut self, text: &str);
}Expand description
Terminal-facing output sink for stdout/stderr emission.
Required Methods§
Sourcefn write_stdout(&mut self, text: &str)
fn write_stdout(&mut self, text: &str)
Writes text to the sink’s stdout channel.
Sourcefn write_stderr(&mut self, text: &str)
fn write_stderr(&mut self, text: &str)
Writes text to the sink’s stderr channel.