pub trait RpcNotificationSimple: Send + Sync + 'static {
    // Required method
    fn execute(&self, params: Params);
}
Expand description

Notification

Required Methods§

source

fn execute(&self, params: Params)

Execute notification

Implementors§

source§

impl<F> RpcNotificationSimple for Fwhere F: Fn(Params) + Send + Sync + 'static,