Struct cloudabi::subscription [] [src]

#[repr(C)]
pub struct subscription { pub userdata: userdata, pub unused: u16, pub type_: eventtype, pub union: subscription_union, }

Subscription to an event.

Fields

User-provided value that is attached to the subscription in the kernel and returned through event.userdata.

Used by previous implementations. Ignored.

The type of the event to which to subscribe.

Currently, CONDVAR, LOCK_RDLOCK, and LOCK_WRLOCK must be provided as the first subscription and may only be followed by up to one other subscription, having type CLOCK.

Trait Implementations

impl Copy for subscription
[src]

impl Clone for subscription
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more