Home
last modified time | relevance | path

Searched refs:spawn_local_obj (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/futures-task/src/
Dspawn.rs40 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError>; in spawn_local_obj() method
107 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj() method
108 Sp::spawn_local_obj(self, future) in spawn_local_obj()
117 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj() method
118 Sp::spawn_local_obj(self, future) in spawn_local_obj()
142 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj() method
143 (**self).spawn_local_obj(future) in spawn_local_obj()
162 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj() method
163 (**self).spawn_local_obj(future) in spawn_local_obj()
185 … fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> {
[all …]
/external/rust/crates/futures-executor/tests/
Dlocal_pool.rs46 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()
[all …]
/external/rust/crates/futures-util/src/task/
Dspawn.rs128 self.spawn_local_obj(LocalFutureObj::new(Box::new(future))) in spawn_local()
/external/rust/crates/futures-executor/src/
Dlocal_pool.rs386 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj() method
/external/rust/crates/futures/tests/
Dshared.rs138 .spawn_local_obj(LocalFutureObj::new(Box::new(f1.map(|_| ())))) in peek()
/external/rust/crates/futures-util/src/stream/futures_unordered/
Dmod.rs75 fn spawn_local_obj(&self, future_obj: LocalFutureObj<'static, ()>) in spawn_local_obj() method