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