[−][src]Module weasel::event
Event module.
Structs
ClientEventPrototype | An event prototype sent by a client to a server that must be first verified before being processed. |
Conditional | Decorator for event triggers to add a condition on the generated event prototype. |
DummyEvent | An event that does nothing. |
DummyEventTrigger | Trigger to build and fire a |
EventPrototype | A prototype for tentative events that are not yet verified. |
EventWrapper | A wrapper to decorate verified events with additional data. |
MultiClientSinkHandle | A structure to access client sinks. |
MultiClientSinkHandleMut | A structure to access and manipulate client sinks. |
Prioritized | Decorator for |
VersionedEventWrapper | Decorates an |
Enums
EventKind | Enum to represent all different kinds of events. |
EventRights | Types of access rights that might be required in order to fire an event. |
Traits
ClientSink | An output sink to dump versioned and verified events to a client. |
DefaultOutput | A trait to describe an output type from an event processor. The requirement of this type is to be able to return an object for an ok state. |
Event | An event is the only mean to apply a change to the world. |
EventProcessor | A trait for objects that can process new local events. |
EventReceiver | A trait for objects that can receive verified events. |
EventServer | A trait for objects that can verify and process new client events. |
EventSink | Basic trait for event sinks. |
EventTrigger | Trait to unify the interface of all event builders. |
ServerSink | An output sink to dump tentative events to a server. |
Type Definitions
Condition | Function that tells if an event prototype met its additional conditions in order to be applied. |
EventId | Type for the id of events. |
EventQueue | Collection to queue events prototypes, in order of insertion. |
EventSinkId | Id of an event sink. |