Skip to main content

load_template

Function load_template 

Source
pub fn load_template(artifact_type: &str) -> Result<&'static str, ScaffoldError>
Expand description

load_template(artifact_type) — the canonical body, or TemplateNotFound for an unregistered type. TemplateResourceMissing (a broken Python installation) has no Rust equivalent: embedded resources cannot be absent from a linked binary.