Struct iron::response::ResponseBody [] [src]

pub struct ResponseBody<'a>(_);

A Writer of HTTP response bodies.

Methods

impl<'a> ResponseBody<'a>
[src]

Create a new ResponseBody, mostly for use in mocking.

Trait Implementations

impl<'a> Write for ResponseBody<'a>
[src]

Write a buffer into this object, returning how many bytes were written. Read more

Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

Attempts to write an entire buffer into this write. Read more

Writes a formatted string into this writer, returning any error encountered. Read more

Creates a "by reference" adaptor for this instance of Write. Read more