Trait sharp_pencil::wrappers::BodyWrite
source · [−]pub trait BodyWrite: Send {
fn write_body(&mut self, body: &mut ResponseBody<'_>) -> Result<()>;
}
Expand description
A trait which writes the body of one response.
pub trait BodyWrite: Send {
fn write_body(&mut self, body: &mut ResponseBody<'_>) -> Result<()>;
}
A trait which writes the body of one response.