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

The event is available and call(s) to Awaitable::wait() will go through without blocking, i.e. the event is signalled.

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for State
[src]

Formats the value using the given formatter. Read more

impl PartialEq for State
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for State

impl Sync for State