Trait conjure_http::server::WriteBody
source · pub trait WriteBody<W> {
// Required method
fn write_body(self: Box<Self>, w: &mut W) -> Result<(), Error>;
}Expand description
A trait implemented by streaming bodies.
pub trait WriteBody<W> {
// Required method
fn write_body(self: Box<Self>, w: &mut W) -> Result<(), Error>;
}A trait implemented by streaming bodies.