Skip to content

Glossary: Software Design Patterns in Rust

Event bus

Also written: EventBus

The subject in the Observer example: a struct that stores listeners by event name and calls them when an event is emitted.

Where the book teaches it

Related terms

ObserverListenerPublish/subscribe