[][src]Struct wasi::Subscription

#[repr(C)]
pub struct Subscription {
    pub userdata: Userdata,
    pub type: Eventtype,
    pub u: SubscriptionU,
}

Fields

userdata: Userdata

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

type: Eventtype

The type of the event to which to subscribe.

u: SubscriptionU

The contents of the subscription.

Trait Implementations

impl Copy for Subscription[src]

impl Clone for Subscription[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.