Struct wasi_common::sched::Poll[][src]

pub struct Poll<'a> { /* fields omitted */ }

Implementations

impl<'a> Poll<'a>[src]

pub fn new() -> Self[src]

pub fn subscribe_monotonic_clock(
    &mut self,
    clock: &'a dyn WasiMonotonicClock,
    deadline: Instant,
    precision: Duration,
    ud: Userdata
)
[src]

pub fn subscribe_read(&mut self, file: Ref<'a, dyn WasiFile>, ud: Userdata)[src]

pub fn subscribe_write(&mut self, file: Ref<'a, dyn WasiFile>, ud: Userdata)[src]

pub fn results(self) -> Vec<(SubscriptionResult, Userdata)>[src]

pub fn is_empty(&self) -> bool[src]

pub fn earliest_clock_deadline(
    &'a self
) -> Option<&MonotonicClockSubscription<'a>>
[src]

pub fn rw_subscriptions(&'a self) -> impl Iterator<Item = &Subscription<'a>>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Poll<'a>

impl<'a> !Send for Poll<'a>

impl<'a> !Sync for Poll<'a>

impl<'a> Unpin for Poll<'a>

impl<'a> !UnwindSafe for Poll<'a>

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> Instrument for T[src]

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

impl<T> Pointee for T[src]

type Pointer = u32

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<V, T> VZip<V> for T where
    V: MultiLane<T>,