Trait RpcMethod
jsonrpsee_http_client::traits
pub trait RpcMethod<R, E>: 'static + Fn(RpcParams<'_>) -> Result<R, E> + Send + Sync { }
JSON-RPC server interface for managing method calls.
impl<R, T, E> RpcMethod<R, E> for T where T: Fn(RpcParams<'_>) -> Result<R, E> + Send + Sync + 'static,