[][src]Struct wasihost_core::wasi_snapshot_preview1::EventFdReadwrite

pub struct EventFdReadwrite {
    pub nbytes: Filesize,
    pub flags: Eventrwflags,
}

The contents of an $event when type is eventtype::fd_read or eventtype::fd_write.

Fields

nbytes: Filesize

The number of bytes available for reading or writing.

flags: Eventrwflags

The state of the file descriptor.

Trait Implementations

impl Clone for EventFdReadwrite[src]

impl Copy for EventFdReadwrite[src]

impl Debug for EventFdReadwrite[src]

impl WasiValue for EventFdReadwrite[src]

type NativeType = event_fd_readwrite

The native WASM type.

Auto Trait Implementations

impl RefUnwindSafe for EventFdReadwrite

impl Send for EventFdReadwrite

impl Sync for EventFdReadwrite

impl Unpin for EventFdReadwrite

impl UnwindSafe for EventFdReadwrite

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.