Trait ComponentJsonRpc

Source
pub trait ComponentJsonRpc: PropertyInstanceGetter + PropertyInstanceSetter {
    // Provided methods
    fn method<S: Into<String>>(&self, v: S) { ... }
    fn json_rpc_version<S: Into<String>>(&self, v: S) { ... }
    fn params(&self, v: Map<String, Value>) { ... }
    fn error(&self) -> Option<Map<String, Value>> { ... }
}

Provided Methods§

Source

fn method<S: Into<String>>(&self, v: S)

Source

fn json_rpc_version<S: Into<String>>(&self, v: S)

Source

fn params(&self, v: Map<String, Value>)

Source

fn error(&self) -> Option<Map<String, Value>>

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§