pub fn template_strict<'v, T: PlaceholderValuePair<'v, impl Display + ?Sized + 'v>>(
    template: &str,
    values: impl IntoIterator<Item = T>
) -> Result<String, TemplateError>
Expand description

Renders a string from the template, replacing all instances of {placeholder} with given values.

Placeholder name may only contain letters, numbers, dash, underscore and a dot.

It is an error to pass values for non-existing placeholders.