Trait jsonrpc_core::RpcMethodSimple [] [src]

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

Asynchronous Method

Associated Types

Output future

Required Methods

Call method

Implementors