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

pub struct event_fd_readwrite {
    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 event_fd_readwrite[src]

impl Copy for event_fd_readwrite[src]

impl Debug for event_fd_readwrite[src]

impl Default for event_fd_readwrite[src]

impl WasmValue for event_fd_readwrite[src]

Auto Trait Implementations

impl RefUnwindSafe for event_fd_readwrite

impl Send for event_fd_readwrite

impl Sync for event_fd_readwrite

impl Unpin for event_fd_readwrite

impl UnwindSafe for event_fd_readwrite

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.