Newer
Older
use jsonrpsee::proc_macros::rpc;
// Missing mandatory `name` field.
#[rpc(client, server)]
pub trait NoMethodName {
#[method()]
async fn async_method(&self) -> jsonrpsee::types::JsonRpcResult<u8>;
use jsonrpsee::proc_macros::rpc;
// Missing mandatory `name` field.
#[rpc(client, server)]
pub trait NoMethodName {
#[method()]
async fn async_method(&self) -> jsonrpsee::types::JsonRpcResult<u8>;