silicon-heaven / libshvclient-rs

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

Replace `methods_getter!` and `handler!` macros with newtypes #7

Closed dav-wolff closed 2 months ago

dav-wolff commented 2 months ago

Replaces MethodsGetter and RequestHandler type aliases with newtypes, allowing the use of constructors instead of using the methods_getter!, handler!, and handler_stateless! macros.