use std::path::PathBuf; use serde::Serialize; use crate::error::CustomError; pub(crate) trait RendererIntegration { fn load_templates(&mut self, dust_templates: I) -> Result<(), CustomError> where I: Iterator, P: Into; fn render(&self, context: C) -> Result where C: Serialize; }