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 1 month ago

j4r0u53k commented 1 month 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 1 month ago

Done for static nodes.

fvacek commented 2 weeks ago

Allow return from method handlers.