pub trait EventReceiver<E> {
    // Required method
    fn next_event(&mut self) -> Option<E>;
}
Expand description

The event-receiving half of an Event-Queue.

Required Methods§

source

fn next_event(&mut self) -> Option<E>

Returns the next event in the queue.

Implementors§