load_toml_template_from_str

Function load_toml_template_from_str 

Source
pub fn load_toml_template_from_str<TE, C>(
    engine: TE,
    content: &str,
    ctx: &C,
) -> impl Future<Item = Template<TE>, Error = Error>
where TE: TemplateEngine, C: Context,
Expand description

Load a template as described in a toml string;