Struct yatp::task::future::Runner[][src]

pub struct Runner { /* fields omitted */ }

Future task runner.

Implementations

impl Runner[src]

pub fn new(repoll_limit: usize) -> Self[src]

Creates a Future task runner.

repoll_limit is the maximum times a Future is polled again immediately after polling because of being waken up during polling.

Trait Implementations

impl Clone for Runner[src]

impl Default for Runner[src]

impl Runner for Runner[src]

type TaskCell = TaskCell

The local spawn that can be accepted to spawn tasks.

Auto Trait Implementations

impl RefUnwindSafe for Runner

impl Send for Runner

impl Sync for Runner

impl Unpin for Runner

impl UnwindSafe for Runner

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> 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]