JsonRpcTarget

Trait JsonRpcTarget 

Source
pub trait JsonRpcTarget: Target {
    // Required methods
    fn method_name(&self) -> &'static str;
    fn params(&self) -> Vec<Value>;
}

Required Methods§

Source

fn method_name(&self) -> &'static str

Source

fn params(&self) -> Vec<Value>

Implementors§