Lines Matching refs:Box
46 spawn.spawn_local_obj(Box::pin(pending()).into()).unwrap(); in run_until_ignores_spawned()
55 spawn.spawn_local_obj(Box::pin(lazy(move |_| { in run_until_executes_spawned()
77 spawn.spawn_local_obj(Box::pin(lazy(move |_| { in run_executes_spawned()
78 spawn2.spawn_local_obj(Box::pin(lazy(move |_| { in run_executes_spawned()
100 spawn.spawn_local_obj(Box::pin(lazy(move |_| { in run_spawn_many()
126 spawn.spawn_local_obj(Box::pin(pending()).into()).unwrap(); in try_run_one_executes_one_ready()
129 spawn.spawn_local_obj(Box::pin(lazy(move |_| { in try_run_one_executes_one_ready()
133 spawn.spawn_local_obj(Box::pin(pending()).into()).unwrap(); in try_run_one_executes_one_ready()
157 spawn.spawn_local_obj(Box::pin(poll_fn(move |ctx| { in try_run_one_returns_on_no_progress()
188 spawn.spawn_local_obj(Box::pin(poll_fn(move |_| { in try_run_one_runs_sub_futures()
192 inner_spawner.spawn_local_obj(Box::pin(lazy(move |_|{ in try_run_one_runs_sub_futures()
217 spawn.spawn_local_obj(Box::pin(lazy(move |_|{ cnt1.set(cnt1.get() + 1) })).into()).unwrap(); in run_until_stalled_returns_multiple_times()
222 spawn.spawn_local_obj(Box::pin(lazy(move |_|{ cnt2.set(cnt2.get() + 1) })).into()).unwrap(); in run_until_stalled_returns_multiple_times()
235 spawn.spawn_local_obj(Box::pin(poll_fn(move |_| { in run_until_stalled_runs_spawned_sub_futures()
239 inner_spawner.spawn_local_obj(Box::pin(lazy(move |_|{ in run_until_stalled_runs_spawned_sub_futures()
262 spawn.spawn_local_obj(Box::pin(pending()).into()).unwrap(); in run_until_stalled_executes_all_ready()
265 spawn.spawn_local_obj(Box::pin(lazy(move |_| { in run_until_stalled_executes_all_ready()
270 spawn.spawn_local_obj(Box::pin(pending()).into()).unwrap(); in run_until_stalled_executes_all_ready()
284 spawn.spawn_obj(Box::pin(lazy(|_| { in nesting_run()
298 spawn.spawn_obj(Box::pin(lazy(|_| { in nesting_run_run_until_stalled()
345 spawn.spawn_local_obj(Box::pin(Spin { in tasks_are_scheduled_fairly()
350 spawn.spawn_local_obj(Box::pin(Spin { in tasks_are_scheduled_fairly()