Skip to main content

Crate morb

Crate morb 

Source
Expand description

morb is a lightweight in-process publish/subscribe library for Rust.

It provides named topics, fixed-size message retention via a ring buffer, and poll-based notifications built on mio and eventfd.

Structs§

Publisher
Subscriber
Reads messages from a topic in publish order.
Topic
A named message channel with fixed-size retention and poll notifications.
TopicManager
Stores all globally registered topics.
TopicPoller
Waits for updates from one or more topics.

Traits§

MorbDataType

Functions§

create_topic
Creates a new topic with the given name and queue size.
get_topic
Returns a previously created topic by name and type.