Trait iron::response::WriteBody [] [src]

pub trait WriteBody: Send {
    fn write_body(&mut self, res: &mut Write) -> Result<()>;
}

A trait which writes the body of an HTTP response.

Required Methods

Writes the body to the provided Write.

Implementors