Structs§
- Basic
Builder - The
BasicBuilderhelps you to create aBasicMediator. - Basic
Mediator - Basic mediator for synchronous environments with events of type
Ev.
Traits§
- Basic
Mediator Builder Interface - Basic builder fuctionality:
Adding a
Listenerto the builder. - Builder
Flow - A
BuilderFlowis generic overMwhich is the mediator that will be built byBuilderFlow::build(). - Builder
Internal - Trait for creating a builder
that implements
BuilderFlowfor a mediatorM. - Listener
- A
Listeneris a user-defined closure that is generic over its received eventEv. The closure handles the event and may act upon an event. - Request
Handler - Handles the request
Req. Implemented by the user. - Sync
Mediator Internal - Publish an event
Evfrom within a handler. - Sync
Mediator Internal Handle - Send a request
Reqfor processing to the mediator. This will call the handler. - Sync
Mediator Internal Next - Process the next event
Evfrom the channel. This will call all listeners with a clone of that event.