Module bastion::dispatcher [−][src]
Special module that allows users to interact and communicate with a group of actors through the dispatchers that holds information about actors grouped together.
Structs
| Dispatcher | A generic implementation of the Bastion dispatcher |
| RoundRobinHandler | Dispatcher that will do simple round-robin distribution |
Enums
| BroadcastTarget | Defines types of the notifications handled by the dispatcher when the group of actors is changing. |
| DispatcherType | Defines the type of the dispatcher. |
| NotificationType | Defines types of the notifications handled by the dispatcher when the group of actors is changing. |
Traits
| DispatcherHandler | Generic trait which any custom dispatcher handler must implement for
the further usage by the |
Type Definitions
| DefaultDispatcherHandler | The default handler, which does round-robin. |
| DispatcherMap | Type alias for the concurrency hashmap. Each key-value pair stores the Bastion identifier as the key and the module name as the value. |