pub trait OutputWriter: Send {
// Required methods
fn write(&mut self, result: &GenerationResult) -> Result<()>;
fn flush(&mut self) -> Result<()>;
}pub trait OutputWriter: Send {
// Required methods
fn write(&mut self, result: &GenerationResult) -> Result<()>;
fn flush(&mut self) -> Result<()>;
}