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.

Implementations on Foreign Types

impl WriteBody for String
[src]

[src]

impl<'a> WriteBody for &'a str
[src]

[src]

impl WriteBody for Vec<u8>
[src]

[src]

impl<'a> WriteBody for &'a [u8]
[src]

[src]

impl WriteBody for File
[src]

[src]

impl WriteBody for Box<Read + Send>
[src]

[src]

Implementors