Home
last modified time | relevance | path

Searched refs:SpawnError (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/futures-task/src/
Dspawn.rs15 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 { implementation
87 fn spawn_obj(&self, future: FutureObj<'static, ()>) -> Result<(), SpawnError> { in spawn_obj() argument
[all …]
Dlib.rs27 pub use crate::spawn::{Spawn, SpawnError, LocalSpawn};
/external/rust/crates/futures-executor/src/
Dlocal_pool.rs6 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()
Dthread_pool.rs5 use futures_task::{FutureObj, Spawn, SpawnError};
138 ) -> Result<(), SpawnError> { in spawn_obj() argument
/external/rust/crates/futures-util/src/task/
Dspawn.rs14 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()
Dmod.rs17 Spawn, LocalSpawn, SpawnError,
/external/rust/crates/futures-util/src/stream/futures_unordered/
Dmod.rs9 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/
Dexecutor.rs8 use futures_task::{FutureObj, Spawn as Spawn03, SpawnError as SpawnError03};
/external/rust/crates/futures/tests/
Dauto_traits.rs1821 assert_impl!(SpawnError: Send);
1822 assert_impl!(SpawnError: Sync);
1823 assert_impl!(SpawnError: Unpin);