[][src]Trait raw_sync::events::EventImpl

pub trait EventImpl {
    fn wait(&self, timeout: Timeout) -> Result<(), Box<dyn Error>>;
fn set(&self, state: EventState) -> Result<(), Box<dyn Error>>; }

Required methods

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

Wait for the event to be signaled

fn set(&self, state: EventState) -> Result<(), Box<dyn Error>>

Set the current state of the event

Loading content...

Implementors

impl EventImpl for BusyEvent[src]

impl EventImpl for Event[src]

Loading content...