Skip to main content

RpcCaller

Trait RpcCaller 

Source
pub trait RpcCaller {
    // Required method
    fn call(
        &mut self,
        method: &str,
        params: Option<Value>,
    ) -> Result<Value, String>;
}

Required Methods§

Source

fn call(&mut self, method: &str, params: Option<Value>) -> Result<Value, String>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl RpcCaller for ZoteroRpc

Source§

fn call(&mut self, method: &str, params: Option<Value>) -> Result<Value, String>

Implementors§