Function hcl_edit::parser::parse_template

source ·
pub fn parse_template(input: &str) -> Result<Template, Error>
Expand description

Parse an input into a Template.

§Errors

Returns an error if the input does not resemble a valid HCL template.