Crate jsonrpc_pubsub
source · [−]Expand description
Publish-Subscribe extension for JSON-RPC
Modules
The SubscriptionManager used to manage subscription based RPCs.
A futures oneshot channel that can be used for rendezvous.
PUB-SUB auto-serializing structures.
Structs
Wire up rpc subscriptions to delegate
struct
Publish-Subscribe extension of IoHandler
.
RPC client session Keeps track of active subscriptions and unsubscribes from them upon dropping.
A handle to send notifications directly to subscribed client.
Represents a subscribing client. Subscription handlers can either reject this subscription request or assign an unique id.
Enums
Unique subscription id.
Traits
Metadata extension for pub-sub method handling.
Subscribe handler
Unsubscribe handler
Functions
Creates new subscribe and unsubscribe RPC methods
Type Definitions
Subscription send result.
Raw transport error.