pub(crate) trait ToRpcResponseResult {
// Required method
fn to_rpc_result(self) -> ResponseResult;
}Expand description
Helper trait to easily convert results to rpc results
Required Methods§
fn to_rpc_result(self) -> ResponseResult
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".