Searched defs:SpawnTask (Results 1 – 1 of 1) sorted by relevance
85 pub struct SpawnTask { struct92 /// `SpawnTask` access is guarded by `state` field, which guarantees Sync. argument95 unsafe impl Sync for SpawnTask {} implementation97 impl SpawnTask { impl98 fn new(s: SpawnHandle, kicker: Kicker, queue: Arc<WorkQueue>) -> SpawnTask { in new()138 pub fn resolve(task: Arc<SpawnTask>, success: bool) { in resolve()148 impl ArcWake for SpawnTask { implementation184 fn poll(task: Arc<SpawnTask>, woken: bool) { in poll()