Module async_broker

Module async_broker 

Source

Structs§

AsyncBroker
Publish-subscribe broker handle.
Message
Serialized message type.

Enums§

PublishError
Severity
System event severity.
SubscribeError

Traits§

IntoPublisher
Conversion trait for objects that can be turned into pubsub publishers.
IntoSubscriber
Conversion trait for objects that can be turned into pubsub subscribers.
Publish
Represents the publishing end of a pub-sub broker client. publish and publish_event have some minor serialization boilerplate built-in into their default implementations.
Subscribe
Represents the subscribe end of a pub-sub broker client. Objects of this type are meant to accumulate subscriptions and be consumed when converting to a message stream.