Trait jsonrpc_pubsub::UnsubscribeRpcMethod
source · pub trait UnsubscribeRpcMethod: Send + Sync + 'static {
type Out: Future<Item = Value, Error = Error> + Send + 'static;
fn call(&self, id: SubscriptionId) -> Self::Out;
}
Expand description
Unsubscribe handler
Required Associated Types§
Required Methods§
sourcefn call(&self, id: SubscriptionId) -> Self::Out
fn call(&self, id: SubscriptionId) -> Self::Out
Called when client is requesting to cancel existing subscription.