Trait alloy_json_rpc::RpcObject

source ·
pub trait RpcObject: RpcParam + RpcReturn { }
Expand description

An object that can be used as a JSON-RPC parameter and return value.

This marker trait is blanket-implemented for every qualifying type. It is used to indicate that a type can be used as both a JSON-RPC parameter and return value.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> RpcObject for T
where T: RpcParam + RpcReturn,