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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.