type Task = Task<Arc<Handle>>;
Expand description
A task handle
Aliased Type§
struct Task {
raw: RawTask,
_p: PhantomData<Arc<Handle>>,
}
Fields§
§raw: RawTask
§_p: PhantomData<Arc<Handle>>
Implementations
Trait Implementations
Source§impl<S> Link for Task<S>
§Safety
Tasks are pinned.
impl<S> Link for Task<S>
§Safety
Tasks are pinned.
Source§impl<S> ShardedListItem for Task<S>
§Safety
The id of a task is never changed after creation of the task, so the return value of
get_shard_id
will not change. (The cast may throw away the upper 32 bits of the task id, but
the shard id still won’t change from call to call.)
impl<S> ShardedListItem for Task<S>
§Safety
The id of a task is never changed after creation of the task, so the return value of
get_shard_id
will not change. (The cast may throw away the upper 32 bits of the task id, but
the shard id still won’t change from call to call.)