Skip to main content

RpcHandler

Type Alias RpcHandler 

Source
pub type RpcHandler = Arc<dyn Fn(Option<Value>) -> RpcFuture + Send + Sync>;
Expand description

Thread-safe async JSON-RPC 2.0 method handler callback.

Aliased Typeยง

pub struct RpcHandler { /* private fields */ }