pub fn generate(xmldata: &str, opts: &GenOpts) -> Result<String, Box<dyn Error>>
Generates Rust structs and traits from D-Bus XML introspection data.