EventReceiver

Trait EventReceiver 

Source
pub trait EventReceiver: Send + Sync {
    // Required method
    fn has_pending_events(&self) -> bool;
}
Expand description

Event receiving capability

Objects that can receive and poll for events.

Required Methods§

Source

fn has_pending_events(&self) -> bool

Check if events are pending

§Returns
  • true if events are available, false otherwise

Implementors§