[][src]Module twilight_gateway::shard::event

Events that the shard emits to event streams.

Included is the larger Event exposed to event streams. It contains variants with all of the possible events that can come in: new channels, heartbeat acknowledgements, "meta" events of when the shard disconnects or connects, etc.

Also included is the EventType bitflags, which can be used to identify the type of an event and to filter events from event streams via Shard::some_events.

Structs

Events

A stream of events from a Shard.