Trait NotificationHandler

Source
pub trait NotificationHandler: Send + Sync {
    // Required method
    fn handle_notification(&self, notification: JsonRpcNotification);
}
Expand description

Notification handler trait

Required Methods§

Source

fn handle_notification(&self, notification: JsonRpcNotification)

Handle a notification from the server

Implementors§