pub trait RpcMethod<T: Metadata>:
Send
+ Sync
+ 'static {
// Required method
fn call(&self, params: Params, meta: T) -> BoxFuture<Result<Value>>;
}Expand description
Asynchronous Method with Metadata
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".