No-op implementation to be used for servers that don’t support subscriptions.
Represent a pending subscription which waits until it’s either accepted or rejected.
Generates random integers as subscription ID.
Generates random strings of length
len as subscription ID.
Sets of JSON-RPC methods can be organized into a “module“s that are in turn registered on the server or,
alternatively, merged with other modules to construct a cohesive API.
RpcModule wraps an additional context
argument that can be used to access data during call execution.
Represents a single subscription.
A WebSocket JSON RPC server.
Builder to configure and create a JSON-RPC Websocket server
Handle that is able to stop the running server or wait for it to finish its execution.
Future that resolves once the server has stopped.
Trait to generate subscription IDs.