Trait JsonRPCMsgT
pub trait JsonRPCMsgT: Send + 'static {
// Required methods
fn method() -> &'static str;
fn into_params(self) -> impl ToRpcParams + Send + 'static;
}Expand description
JSON-RPC message trait for jsonrpsee.
Required Methods§
fn method() -> &'static str
fn into_params(self) -> impl ToRpcParams + Send + 'static
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.