Trait jsonrpc_pubsub::SubscribeRpcMethod [−][src]
Subscribe handler
Required methods
fn call(&self, params: Params, meta: M, subscriber: Subscriber)
[src]
Called when client is requesting new subscription to be started.
Implementors
impl<M, F> SubscribeRpcMethod<M> for F where
F: Fn(Params, M, Subscriber) + Send + Sync + 'static,
M: PubSubMetadata,
[src]
F: Fn(Params, M, Subscriber) + Send + Sync + 'static,
M: PubSubMetadata,