[][src]Trait jsonrpc_core::RpcNotification

pub trait RpcNotification<T: Metadata>: Send + Sync + 'static {
    fn execute(&self, params: Params, meta: T);
}

Notification with Metadata

Required methods

fn execute(&self, params: Params, meta: T)

Execute notification

Loading content...

Implementors

impl<F: Send + Sync + 'static, T> RpcNotification<T> for F where
    T: Metadata,
    F: Fn(Params, T), 
[src]

Loading content...