Crate selium

Source

Modules§

batching
Data structures and utilities to enable message batching on streams.
constants
Commonly used constants.
keep_alive
Data types and stream/sink wrappers to allow streams to recover from transient errors.
logging
prelude
Re-exports commonly used types and traits.
pubsub
Asynchronous Pub/Sub streams.
request_reply
Synchronous Request/Reply streams.
std
Re-exports selium_std modules.
traits
A collection of traits used by Selium and end-users.

Structs§

Client
A client containing an authenticated connection to either Selium Cloud or a self-hosted Selium server.
ClientBuilder
A convenient builder struct used to build a Client instance.
ClientCommon
Common state for all client types.
StreamBuilder
A convenient builder struct used to build a Selium stream, such as a Pub/Sub or Request/Reply stream.

Functions§

cloud
Constructs a Cloud ClientBuilder in its initial state to prepare to connect to Selium Cloud.
custom
Constructs a Custom ClientBuilder in its initial state to prepare to connect to a self-hosted Selium server.