Attribute Macro hardlight_macros::rpc_handler
source · #[rpc_handler]
Expand description
This attribute is used to mark a struct as an RPC handler. Currently,
this just adds the #[async_trait::async_trait]
attribute to the struct.
#[rpc_handler]
This attribute is used to mark a struct as an RPC handler. Currently,
this just adds the #[async_trait::async_trait]
attribute to the struct.