Trait pencil::wrappers::BodyWrite [] [src]

pub trait BodyWrite: Send {
    fn write_body(&mut self, body: &mut ResponseBody) -> Result<()>;
}

A trait which writes the body of one response.

Required Methods

fn write_body(&mut self, body: &mut ResponseBody) -> Result<()>

Implementors