Searched refs:spawn_local_obj (Results 1 – 6 of 6) sorted by relevance
/external/rust/crates/futures-task/src/ |
D | spawn.rs | 40 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/ |
D | local_pool.rs | 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() [all …]
|
/external/rust/crates/futures-util/src/task/ |
D | spawn.rs | 128 self.spawn_local_obj(LocalFutureObj::new(Box::new(future))) in spawn_local()
|
/external/rust/crates/futures-executor/src/ |
D | local_pool.rs | 386 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj() method
|
/external/rust/crates/futures/tests/ |
D | shared.rs | 138 .spawn_local_obj(LocalFutureObj::new(Box::new(f1.map(|_| ())))) in peek()
|
/external/rust/crates/futures-util/src/stream/futures_unordered/ |
D | mod.rs | 75 fn spawn_local_obj(&self, future_obj: LocalFutureObj<'static, ()>) in spawn_local_obj() method
|