Skip to main content

Module pubsub

Module pubsub 

Source
Expand description

Redis Pub/Sub: delivery to the subscribers connected when a message is published.

Re-exports§

pub use crate::pubsub::RedisPubSubPublish as Publish;

Modules§

prelude
The core prelude plus everything a Redis Pub/Sub service writes.

Structs§

RedisPubSub
Describes one Pub/Sub subscription on a single channel, against a ConnectedRedisBroker.
RedisPubSubMessage
A Pub/Sub delivery. ack / nack are unsupported (Pub/Sub has no acknowledgement).
RedisPubSubPattern
Describes one Pub/Sub subscription on a glob pattern (PSUBSCRIBE), against a ConnectedRedisBroker.
RedisPubSubPublish
The declaration half of the Pub/Sub publisher: delivery mode and envelope codec, no connection.
RedisPubSubPublisher
Publishes Pub/Sub messages with PUBLISH (classic) or SPUBLISH (sharded): a RedisPubSubPublish policy paired with a connection.
RedisPubSubSubscriber
A Pub/Sub subscription backed by a dedicated fred client, so its message stream and channel state are isolated from other subscribers and from the publishing pool.

Enums§

PubSubMode
Pub/Sub delivery mode. Defaults to Classic.