pub trait TemplateToContent {
// Required method
fn template_to_content<S: Into<Cow<'static, str>>, C: Serialize>(
&self,
name: S,
context: C,
) -> Result<Arc<str>, String>;
}Required Methods§
fn template_to_content<S: Into<Cow<'static, str>>, C: Serialize>( &self, name: S, context: C, ) -> Result<Arc<str>, String>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.