Trait iron::response::WriteBody
[−]
[src]
pub trait WriteBody: Send { fn write_body(&mut self, res: &mut ResponseBody) -> Result<()>; }
A trait which writes the body of an HTTP response.
Required Methods
fn write_body(&mut self, res: &mut ResponseBody) -> Result<()>
Writes the body to the provided ResponseBody
.