pub fn substitute(
template: &str,
representation_id: &str,
number: Option<u64>,
time: Option<u64>,
bandwidth: u64,
) -> Result<String, TemplateError>Expand description
Substitute the identifiers of an already scanned template.
ยงErrors
TemplateError::Invalid when the template is not a valid 5.3.9.4.4
template, TemplateError::MissingNumber / TemplateError::MissingTime
when the template names a value the caller did not supply. A missing value
is never dropped silently: the URL would point at the wrong segment.