Module cdrs::events [] [src]

Structs

EventStream

EventStream is an iterator which returns new events once they come. It is similar to Receiver::iter.

Listener

Listener provides only one function start to start listening. It blocks a thread so should be moved into a separate one to no release main thread.

Functions

new_listener

Factory function which returns a Listener and related EventStream.

Type Definitions

SchemaChange

Reexport of FrameSchemaChange.

ServerEvent

Full Server Event which includes all details about occured change.

SimpleServerEvent

Simplified Server event. It should be used to represent an event which consumer wants listen to.