[][src]Struct wasihost_core::wasi_snapshot_preview1::SubscriptionFdReadwrite

pub struct SubscriptionFdReadwrite {
    pub file_descriptor: Fd,
}

The contents of a subscription when type is type is eventtype::fd_read or eventtype::fd_write.

Fields

file_descriptor: Fd

The file descriptor on which to wait for it to become ready for reading or writing.

Trait Implementations

impl Clone for SubscriptionFdReadwrite[src]

impl Copy for SubscriptionFdReadwrite[src]

impl Debug for SubscriptionFdReadwrite[src]

impl WasiValue for SubscriptionFdReadwrite[src]

type NativeType = subscription_fd_readwrite

The native WASM type.

Auto Trait Implementations

impl RefUnwindSafe for SubscriptionFdReadwrite

impl Send for SubscriptionFdReadwrite

impl Sync for SubscriptionFdReadwrite

impl Unpin for SubscriptionFdReadwrite

impl UnwindSafe for SubscriptionFdReadwrite

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.