pub trait BodyFactory<B: Body> { type Error; // Required method fn produce(&self, template: &Template) -> Result<B, Self::Error>; }