Function generate_from_xml
Source pub fn generate_from_xml(xml: &str) -> Result<String, CodegenError>
Expand description
Generates Rust code from an SBE XML schema string.
§Arguments
xml - SBE XML schema content
§Returns
Generated Rust code as a string.
§Errors
Returns CodegenError if parsing or generation fails.