Trait jsonrpc_core::control::ResponseHandler
[−]
[src]
pub trait ResponseHandler<S, N>: Send { fn send(&self, response: S); fn notify(&self, notification: N); }
Trait representing a client waiting for the response and notifications.
Required Methods
fn send(&self, response: S)
Sends a reponse to that client.
fn notify(&self, notification: N)
Sends a notification to that client.