Trait CallRemote

Source
pub trait CallRemote<RemoteContext, Extra = Empty>: Context {
    // Required method
    fn call_remote(
        &self,
        method: &str,
        params: Value,
        extra: Extra,
    ) -> impl Future<Output = Result<Value, RpcError>> + Send;
}

Required Methods§

Source

fn call_remote( &self, method: &str, params: Value, extra: Extra, ) -> impl Future<Output = Result<Value, RpcError>> + Send

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.

Implementors§