Skip to main content

RpcFuture

Type Alias RpcFuture 

Source
pub type RpcFuture = Pin<Box<dyn Future<Output = Result<Value, RpcError>> + Send>>;
Expand description

Boxed Send future returned by an async JSON-RPC 2.0 method handler.

Aliased Typeยง

#[repr(transparent)]
pub struct RpcFuture { /* private fields */ }