Skip to main content

SectionProcessor

Trait SectionProcessor 

Source
pub trait SectionProcessor {
    // Required methods
    fn section_key(&self) -> &'static str;
    fn process(
        &self,
        content: &Value,
        model: &mut EspforgeConfiguration,
    ) -> Result<()>;

    // Provided method
    fn priority(&self) -> u32 { ... }
}

Required Methods§

Source

fn section_key(&self) -> &'static str

Source

fn process( &self, content: &Value, model: &mut EspforgeConfiguration, ) -> Result<()>

Provided Methods§

Source

fn priority(&self) -> u32

Implementors§