alloy_json_rpc

Trait RpcParam

source
pub trait RpcParam:
    Serialize
    + Clone
    + Debug
    + Send
    + Sync
    + Unpin { }
Expand description

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

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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> RpcParam for T
where T: Serialize + Clone + Debug + Send + Sync + Unpin,