Struct thrust::dispatcher::Dispatcher
[−]
[src]
pub struct Dispatcher { // some fields omitted }
A middleman between incoming and outgoing messages from the event loop and clients or servers. Each instance of a server or client has it's own Dispatcher.
Dispatchers run in their own thread and only expose a channel interface. This makes it extremely easy to do multi-threading by simply cloning the dispatcher.