Trait jsonrpsee_http_client::traits::RpcMethod[][src]

pub trait RpcMethod<R, E>: 'static + Fn(RpcParams<'_>) -> Result<R, E> + Send + Sync { }
Expand description

JSON-RPC server interface for managing method calls.

Implementors

impl<R, T, E> RpcMethod<R, E> for T where
    T: Fn(RpcParams<'_>) -> Result<R, E> + Send + Sync + 'static, 
[src]