Struct jsonrpc_core::commander::Commander
[−]
[src]
pub struct Commander {
// some fields omitted
}Commands executor.
pub struct Commander {
// some fields omitted
}Commands executor.
impl Commander[src]fn new() -> Selffn add_method<C>(&self, name: String, command: Box<C>) where C: MethodCommand + 'staticfn add_methods(&self, methods: HashMap<String, Box<MethodCommand>>)fn add_notification<C>(&self, name: String, command: Box<C>) where C: NotificationCommand + 'staticfn add_notifications(&self, notifications: HashMap<String, Box<NotificationCommand>>)fn execute_method(&self, name: String, params: Params) -> Result<Value, Error>fn execute_notification(&self, name: String, params: Params)