Struct iron::response::BodyReader [] [src]

pub struct BodyReader<R: Send>(pub R);

Wrapper type to set Readers as response bodies

Trait Implementations

impl<R: Read + Send> WriteBody for BodyReader<R>
[src]

Writes the body to the provided ResponseBody.

impl<R: Read + Send + 'static> Modifier<Response> for BodyReader<R>
[src]

Modify F with self.