[][src]Enum wasi_types::EventType

#[repr(u8)]
pub enum EventType {
    Clock,
    FdRead,
    FdWrite,
}

Variants

Clock

The time value of clock SubscriptionType::clock.clock_id has reached timestamp Subscription::clock.timeout.

FdRead

File descriptor SubscriptionType::FdRw.fd has data available for reading. This event always triggers for regular files.

FdWrite

File descriptor SubscriptionType::FdRw.fd has capacity available for writing. This event always triggers for regular files.

Trait Implementations

impl Eq for EventType[src]

impl Clone for EventType[src]

impl PartialEq<EventType> for EventType[src]

impl Copy for EventType[src]

impl Debug for EventType[src]

impl TryFrom<u8> for EventType[src]

type Error = ()

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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