pub trait NativeRpcProvider: Send + Sync {
// Required methods
fn register(&self, builder: &mut RpcServerBuilder);
fn capabilities(&self) -> Vec<&'static str>;
}Required Methods§
fn register(&self, builder: &mut RpcServerBuilder)
fn capabilities(&self) -> Vec<&'static str>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".