Trait jsonrpc_core::RpcMethodSimple[][src]

pub trait RpcMethodSimple: Send + Sync + 'static {
    type Out: Future<Output = Result<Value, Error>> + Send;
    fn call(&self, params: Params) -> Self::Out;
}
Expand description

Asynchronous Method

Associated Types

Output future

Required methods

Call method

Implementors