Trait rustless::backend::WriteBody
[−]
[src]
pub trait WriteBody: Send { fn write_body(&mut self, res: &mut ResponseBody) -> Result<(), Error>; }
A trait which writes the body of an HTTP response.
Required Methods
fn write_body(&mut self, res: &mut ResponseBody) -> Result<(), Error>
Writes the body to the provided ResponseBody
.