Trait jsonrpc_core::commander::MethodCommand [] [src]

pub trait MethodCommand: Send + Sync {
    fn execute(&mut self, params: Params) -> Result<ValueError>;
}

Should be used to handle single method call.

Required Methods

fn execute(&mut self, params: Params) -> Result<ValueError>

Implementors