[][src]Trait shared_memory::EventWait

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

Provides the ability to wait on an event

Required methods

fn wait(
    &self,
    event_index: usize,
    timeout: Timeout
) -> Result<(), Box<dyn Error>>

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

The caller must validate event_index before calling this method

Loading content...

Implementors

impl EventWait for SharedMem[src]

Loading content...