pub type RPCMethod<'a> = Box<dyn Fn(Value) -> Pin<Box<dyn Future<Output = RPCResult<Value>> + Send + Sync + 'a>> + Send + 'a>;
Represents the RPC method
struct RPCMethod<'a>(/* private fields */);