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