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
CLOCK
The time value of clock subscription.union.clock.clock_id
has reached timestamp subscription.union.clock.timeout
.
CONDVAR
Condition variable subscription.union.condvar.condvar
has
been woken up and subscription.union.condvar.lock
has been
acquired for writing.
FD_READ
File descriptor subscription.union.fd_readwrite.fd
has
data available for reading. This event always triggers
for regular files.
FD_WRITE
File descriptor subscription.union.fd_readwrite.fd
has
capacity available for writing. This event always
triggers for regular files.
LOCK_RDLOCK
Lock subscription.union.lock.lock
has been acquired for
reading.
LOCK_WRLOCK
Lock subscription.union.lock.lock
has been acquired for
writing.
PROC_TERMINATE
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]
fn clone(&self) -> eventtype
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for eventtype
[src]
impl PartialEq for eventtype
[src]
fn eq(&self, __arg_0: &eventtype) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Hash for eventtype
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more