Trait jsonrpc_core::RpcMethodSimple
source · pub trait RpcMethodSimple: Send + Sync + 'static {
type Out: Future<Output = Result<Value, Error>> + Send;
// Required method
fn call(&self, params: Params) -> Self::Out;
}
Expand description
Asynchronous Method