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

Writes the body to the provided ResponseBody.

Implementors