Docs.rs
pubsub-bus-3.1.0
pubsub-bus 3.1.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
an-dr
Dependencies
Versions
58.33%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Crate pubsub_bus
pubsub_
bus
3.1.0
All Items
Crate Items
Structs
Traits
Crate
pubsub_
bus
Copy item path
Source
Structs
§
BusEvent
A struct that represents an event that can be sent over the event bus. The content is user-defined. Besudes the content, the event has an id, a source id, and a topic id.
Event
Bus
The Event Bus itself. Add subscribers and publishers to it.
Event
Emitter
EventEmitter is a struct that can be used to publish events to the event bus. It supposed to be used by the publisher.
Traits
§
Publisher
Publisher is a trait that defines a publisher to the event bus. Publisher is expected to care an EventEmitter.
Subscriber
A trait that defines a subscriber to the event bus.