silicon-heaven / libshvclient-rs

A Rust framework for Silicon Heaven RPC devices
MIT License
0 stars 3 forks source link

Request handlers generation by macros #9

Open j4r0u53k opened 4 months ago

j4r0u53k commented 4 months ago

It would be convenient to put boilerplate error handling and response generation code to macros and write only procedures that handle already checked method and param of a RPC request.

j4r0u53k commented 4 months ago

Done for static nodes.

fvacek commented 4 months ago

Allow return from method handlers.