Module pubsub

Source
Expand description

Implementation of PubSubChannel, a queue where published messages get received by all subscribers.

Modules§

publisher
Implementation of anything directly publisher related
subscriber
Implementation of anything directly subscriber related

Structs§

DynImmediatePublisher
An immediate publisher that holds a dynamic reference to the channel
DynPublisher
A publisher that holds a dynamic reference to the channel
DynSubscriber
A subscriber that holds a dynamic reference to the channel
ImmediatePublisher
An immediate publisher that holds a generic reference to the channel
PubSubChannel
A broadcast channel implementation where multiple publishers can send messages to multiple subscribers
Publisher
A publisher that holds a generic reference to the channel
Subscriber
A subscriber that holds a generic reference to the channel

Enums§

Error
Error type for the PubSubChannel
WaitResult
The result of the subscriber wait procedure

Traits§

PubSubBehavior
‘Middle level’ behaviour of the pubsub channel. This trait is used so that Sub and Pub can be generic over the channel.