Skip to main content

Rpc

Trait Rpc 

Source
pub trait Rpc {
    // Required method
    fn call(&self, method: &str, args: &[Value]) -> Result<Value, Error>;
}

Required Methods§

Source

fn call(&self, method: &str, args: &[Value]) -> Result<Value, Error>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Rpc for Core