Trait TemplateGenerator

Source
pub trait TemplateGenerator {
    // Required method
    fn generate_from_api(
        http_client: &dyn HttpClient,
        template_names: &str,
    ) -> Result<String, ProgramError>;
}

Required Methods§

Source

fn generate_from_api( http_client: &dyn HttpClient, template_names: &str, ) -> Result<String, ProgramError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§