Trait jsonrpc_core::RpcNotification[][src]

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)[src]

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...