macro_rules! dispatch_call {
($method_name:expr, $params:expr, $id:expr => $($method:expr),* $(,)?) => { ... };
}Expand description
Macro to generate a dispatch function with compile-time method matching This replaces runtime iteration with a compile-time generated match statement