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 nameFooProtocol
, the macro
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