Module message_io::events[][src]

A set of utilities to deal with asynchronous events. This module mainly offers a synchronized event queue and timed events. It can be used alone or along with the network module to reach a synchronized way to deal with events comming from the network.

Structs

EventQueue

A generic and synchronized queue where the user can send and receive events. See EventSender to see how send events. This entity can be used as an utility for the crate::network module redirecting the network events to process them later from here.

EventSender

Struct used to send events into a EventQueue. This type can only be generated by the receiver EventQueue.