Crate nanorpc_derive
source ·Attribute Macros§
- 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 nameFooProtocol
, the macro