pub trait ResponseWriter { // Required methods fn write(&mut self, content: &str) -> Result<()>; fn end(&mut self) -> Result<()>; }
Interface for writing rendered output
Write content to the output
Finalize the output