jsonrpc_core

Trait RpcNotificationSimple

Source
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 F
where F: Fn(Params) + Send + Sync + 'static,