Crate nanorpc_derive

Source

Attribute Macrosยง

nanorpc_derive
This procedural macro should be put on top of a async_trait trait with name ending in ...Protocol, defining all the function signatures in the RPC protocol. Given a trait of name FooProtocol, the macro