[][src]Module xaynet::state_machine::events

This module provides the StateMachine's Events, EventSubscriber and EventPublisher types.

Structs

Event

An event emitted by the coordinator.

EventBroadcaster

A channel to send Event<E> to all the EventListener<E>.

EventListener

A listener for coordinator events. It can be used to either retrieve the latest Event<E> emitted by the coordinator (with EventListener::get_latest) or to wait for events (since EventListener<E> implements Stream<Item=Event<E>.

EventPublisher

A convenience type to emit any coordinator event.

EventSubscriber

The EventSubscriber hands out EventListeners for any coordinator event.

Enums

DictionaryUpdate

Dictionary update event.

MaskLengthUpdate

Mask length update event.

ModelUpdate

Global model update event.

ScalarUpdate

Scalar update event.