#[non_exhaustive]#[repr(u8)]pub enum eventtype {
CLOCK = 1,
CONDVAR = 2,
FD_READ = 3,
FD_WRITE = 4,
LOCK_RDLOCK = 5,
LOCK_WRLOCK = 6,
PROC_TERMINATE = 7,
}Expand description
Type of a subscription to an event or its occurrence.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
CLOCK = 1
The time value of clock subscription.union.clock.clock_id
has reached timestamp subscription.union.clock.timeout.
CONDVAR = 2
Condition variable subscription.union.condvar.condvar has
been woken up and subscription.union.condvar.lock has been
acquired for writing.
FD_READ = 3
File descriptor subscription.union.fd_readwrite.fd has
data available for reading. This event always triggers
for regular files.
FD_WRITE = 4
File descriptor subscription.union.fd_readwrite.fd has
capacity available for writing. This event always
triggers for regular files.
LOCK_RDLOCK = 5
Lock subscription.union.lock.lock has been acquired for
reading.
LOCK_WRLOCK = 6
Lock subscription.union.lock.lock has been acquired for
writing.
PROC_TERMINATE = 7
The process associated with process descriptor
subscription.union.proc_terminate.fd has terminated.