/external/rust/crates/futures-task/src/ |
D | spawn.rs | 15 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError>; in spawn_obj() argument 24 fn status(&self) -> Result<(), SpawnError> { in status() argument 40 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError>; in spawn_local_obj() argument 49 fn status_local(&self) -> Result<(), SpawnError> { in status_local() argument 55 pub struct SpawnError { struct 59 impl fmt::Debug for SpawnError { argument 65 impl fmt::Display for SpawnError { implementation 72 impl std::error::Error for SpawnError {} implementation 74 impl SpawnError { impl 87 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj() argument [all …]
|
D | lib.rs | 27 pub use crate::spawn::{Spawn, SpawnError, LocalSpawn};
|
/external/rust/crates/futures-executor/src/ |
D | local_pool.rs | 6 use futures_task::{FutureObj, LocalFutureObj, LocalSpawn, Spawn, SpawnError}; 367 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj() argument 372 Err(SpawnError::shutdown()) in spawn_obj() 376 fn status(&self) -> Result<(), SpawnError> { in status() argument 380 Err(SpawnError::shutdown()) in status() 386 fn spawn_local_obj(&self, future: LocalFutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_local_obj() argument 391 Err(SpawnError::shutdown()) in spawn_local_obj() 395 fn status_local(&self) -> Result<(), SpawnError> { in status_local() argument 399 Err(SpawnError::shutdown()) in status_local()
|
D | thread_pool.rs | 5 use futures_task::{FutureObj, Spawn, SpawnError}; 138 ) -> Result<(), SpawnError> { in spawn_obj() argument
|
/external/rust/crates/futures-util/src/task/ |
D | spawn.rs | 14 use futures_task::{FutureObj, LocalFutureObj, SpawnError}; 46 fn spawn<Fut>(&self, future: Fut) -> Result<(), SpawnError> in spawn() 74 fn spawn_with_handle<Fut>(&self, future: Fut) -> Result<RemoteHandle<Fut::Output>, SpawnError> in spawn_with_handle() 124 fn spawn_local<Fut>(&self, future: Fut) -> Result<(), SpawnError> in spawn_local() 155 ) -> Result<RemoteHandle<Fut::Output>, SpawnError> in spawn_local_with_handle()
|
D | mod.rs | 17 Spawn, LocalSpawn, SpawnError,
|
/external/rust/crates/futures-util/src/stream/futures_unordered/ |
D | mod.rs | 9 use futures_task::{FutureObj, LocalFutureObj, Spawn, LocalSpawn, SpawnError}; 67 -> Result<(), SpawnError> in spawn_obj() argument 76 -> Result<(), SpawnError> in spawn_local_obj() argument
|
/external/rust/crates/futures-util/src/compat/ |
D | executor.rs | 8 use futures_task::{FutureObj, Spawn as Spawn03, SpawnError as SpawnError03};
|
/external/rust/crates/futures/tests/ |
D | auto_traits.rs | 1821 assert_impl!(SpawnError: Send); 1822 assert_impl!(SpawnError: Sync); 1823 assert_impl!(SpawnError: Unpin);
|