Event

Trait Event 

Source
pub trait Event: Sync {
    // Required method
    fn handle(&self) -> &Arc<EventHandle>;
}
Expand description

A public trait for passing in the events into a wait function, which gives access to the private EventHandle’s state

Required Methods§

Source

fn handle(&self) -> &Arc<EventHandle>

Implementors§