Struct iron::response::BodyReader
[−]
[src]
pub struct BodyReader<R: Send>(pub R);
Wrapper type to set Read
ers as response bodies
Trait Implementations
impl<R: Read + Send> WriteBody for BodyReader<R>
[src]
fn write_body(&mut self, res: &mut ResponseBody) -> Result<()>
Writes the body to the provided ResponseBody
.