[−][src]Trait jsonrpc_pubsub::UnsubscribeRpcMethod
Unsubscribe handler
Associated Types
Loading content...Required methods
pub fn call(&self, id: SubscriptionId, meta: Option<M>) -> Self::Out
[src]
Called when client is requesting to cancel existing subscription.
Metadata is not available if the session was closed without unsubscribing.
Implementors
impl<M, F, I> UnsubscribeRpcMethod<M> for F where
F: Fn(SubscriptionId, Option<M>) -> I + Send + Sync + 'static,
I: Future<Output = Result<Value>> + Send + 'static,
[src]
F: Fn(SubscriptionId, Option<M>) -> I + Send + Sync + 'static,
I: Future<Output = Result<Value>> + Send + 'static,