Interfacing with Generated Code from Rust
nehwgeneration generates a custom trait featuring all generated methods in form of axum route
handler stubs. To use the auto-generated code, you will need to implement this trait and add all
of the methods to an axum router.
Warning
Automatic generation of an
axumrouter is a planned feature.
Warning
Do not implement the trait inside files generated by
nehwgeneration, as the tool will overwrite all of your changes to that file the next time it is commanded to work on this file.