macro_rules! custom_methods {
($($method:literal),*) => { ... };
}Expand description
Macro to generate custom methods in the DogService trait Usage: custom_methods!(“read”, “write”, “analyze”) Applications should use this macro to define their own custom methods