pub trait JsonRpcTarget: Target {
// Required methods
fn method_name(&self) -> &'static str;
fn params(&self) -> Vec<Value>;
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".