Struct core::task::TaskObj[][src]

pub struct TaskObj { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (futures_api #50547)

futures in libcore are unstable

A custom trait object for polling tasks, roughly akin to Box<Future<Output = ()> + Send>.

Methods

impl TaskObj
[src]

🔬 This is a nightly-only experimental API. (futures_api #50547)

futures in libcore are unstable

Create a TaskObj from a custom trait object representation.

🔬 This is a nightly-only experimental API. (futures_api #50547)

futures in libcore are unstable

Poll the task.

The semantics here are identical to that for futures, but unlike futures only an &mut self reference is needed here.

Trait Implementations

impl Debug for TaskObj
[src]

Formats the value using the given formatter. Read more

impl Send for TaskObj
[src]

impl Sync for TaskObj
[src]

impl Drop for TaskObj
[src]

Executes the destructor for this type. Read more