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§

Output type

Required Methods§

Called when client is requesting to cancel existing subscription.

Implementors§