pub trait EventWait {
    fn wait(
        &self,
        event_index: usize,
        timeout: Timeout
    ) -> Result<(), Box<dyn Error>>; }
Expand description

Provides the ability to wait on an event

Required Methods§

Wait for an event to become signaled or until timeout is reached

The caller must validate event_index before calling this method

Implementors§