[][src]Struct wasihost_core::wasi_snapshot_preview1::native::subscription

pub struct subscription {
    pub userdata: userdata,
    pub u: subscription_u,
}

Subscription to an event.

Fields

userdata: userdata

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

u: subscription_u

The type of the event to which to subscribe, and its contents

Trait Implementations

impl Clone for subscription[src]

impl Copy for subscription[src]

impl Debug for subscription[src]

impl Default for subscription[src]

impl WasmValue for subscription[src]

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

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

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

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

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

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

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

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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.