Enum rsevents::State [−][src]
pub enum State { Set, Unset, }
A representation of the state of an event, which can either be Set
(i.e. signalled,
ready) or Unset
(i.e. not ready).
Variants
Set
The event is available and call(s) to Awaitable::wait()
will go through without
blocking, i.e. the event is signalled.
Unset
The event is unavailable and calls to Awaitable::wait()
will block until the event
becomes set, i.e. the event is unsignalled.
Trait Implementations
impl Clone for State
[src]
impl Clone for State
fn clone(&self) -> State
[src]
fn clone(&self) -> State
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for State
[src]
impl Debug for State
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for State
[src]
impl PartialEq for State