pub trait BlockHandler: Send + Sync {
// Required method
fn generate(
&self,
block_name: &str,
open_tag_line: &str,
context: &UpdateContext,
) -> Result<Vec<String>>;
}Expand description
Trait for generating block content by block name.