Trait calloop::EventDispatcher[][src]

pub trait EventDispatcher<Data> {
    fn ready(&mut self, ready: Ready, data: &mut Data);
}

An event dispatcher

It is the junction between user callbacks and and an event source, receiving mio readinesses, converting them into appropriate events and calling their inner user callback.

Required Methods

The source has a readiness event

Implementors