pub fn parse_uri_var<T: FromStr>(
vars: &UriVars,
name: &str,
) -> Result<T, ToolError>Expand description
Parses a template variable for a resource handler. A value that does not parse means no such resource exists.
ยงErrors
Returns ToolError::not_found if the variable is missing or invalid.