Trait jsonrpc_core::RpcMethodSync
source · pub trait RpcMethodSync: Send + Sync + 'static {
// Required method
fn call(&self, params: Params) -> BoxFuture<Result<Value>>;
}
Expand description
A synchronous or asynchronous method.