Struct futures::TaskData [] [src]

pub struct TaskData<A> {
    // some fields omitted
}

A reference to a piece of data that's stored inside of a Task.

This can be used with the Task::get and Task::get_mut methods to access data inside of tasks.

Trait Implementations

impl<A: Send> Send for TaskData<A>
[src]

impl<A: Sync> Sync for TaskData<A>
[src]

impl<A> Clone for TaskData<A>
[src]

fn clone(&self) -> TaskData<A>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<A> Copy for TaskData<A>
[src]