Enum cloudabi::eventtype [] [src]

#[repr(u8)]
pub enum eventtype { CLOCK, CONDVAR, FD_READ, FD_WRITE, LOCK_RDLOCK, LOCK_WRLOCK, PROC_TERMINATE, // some variants omitted }

Type of a subscription to an event or its occurrence.

Variants

The time value of clock subscription.union.clock.clock_id has reached timestamp subscription.union.clock.timeout.

Condition variable subscription.union.condvar.condvar has been woken up and subscription.union.condvar.lock has been acquired for writing.

File descriptor subscription.union.fd_readwrite.fd has data available for reading. This event always triggers for regular files.

File descriptor subscription.union.fd_readwrite.fd has capacity available for writing. This event always triggers for regular files.

Lock subscription.union.lock.lock has been acquired for reading.

Lock subscription.union.lock.lock has been acquired for writing.

The process associated with process descriptor subscription.union.proc_terminate.fd has terminated.

Trait Implementations

impl Copy for eventtype
[src]

impl Clone for eventtype
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for eventtype
[src]

impl PartialEq for eventtype
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Hash for eventtype
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for eventtype
[src]

[src]

Formats the value using the given formatter.