Struct wasi::Subscription
source · [−]#[repr(C)]pub struct Subscription {
pub userdata: Userdata,
pub u: SubscriptionU,
}
Fields
userdata: Userdata
User-provided value that is attached to the subscription in the
implementation and returned through event::userdata
.
u: SubscriptionU
The type of the event to which to subscribe, and its contents
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Subscription
impl Send for Subscription
impl Sync for Subscription
impl Unpin for Subscription
impl UnwindSafe for Subscription
Blanket Implementations
Mutably borrows from an owned value. Read more