Home
last modified time | relevance | path

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

/external/rust/crates/futures-task/src/
Dspawn.rs31 pub trait LocalSpawn { trait
106 impl<Sp: ?Sized + LocalSpawn> LocalSpawn for &Sp { impl
116 impl<Sp: ?Sized + LocalSpawn> LocalSpawn for &mut Sp { impl
141 impl<Sp: ?Sized + LocalSpawn> LocalSpawn for Box<Sp> {
161 impl<Sp: ?Sized + LocalSpawn> LocalSpawn for Rc<Sp> {
184 impl<Sp: ?Sized + LocalSpawn> LocalSpawn for Arc<Sp> {
Dlib.rs27 pub use crate::spawn::{Spawn, SpawnError, LocalSpawn};
/external/rust/crates/futures-util/src/task/
Dspawn.rs1 use futures_task::{LocalSpawn, Spawn};
17 impl<Sp: ?Sized> LocalSpawnExt for Sp where Sp: LocalSpawn {}
97 pub trait LocalSpawnExt: LocalSpawn {
Dmod.rs17 Spawn, LocalSpawn, SpawnError,
/external/rust/crates/futures/tests/
Dobject_safety.rs45 use futures::task::{LocalSpawn, Spawn}; in task()
48 assert_is_object_safe::<&dyn LocalSpawn>(); in task()
Dshared.rs114 use futures::task::LocalSpawn; in peek()
/external/rust/crates/futures-executor/src/
Dlocal_pool.rs6 use futures_task::{FutureObj, LocalFutureObj, LocalSpawn, Spawn, SpawnError};
385 impl LocalSpawn for LocalSpawner {
/external/rust/crates/futures-util/src/stream/futures_unordered/
Dmod.rs9 use futures_task::{FutureObj, LocalFutureObj, Spawn, LocalSpawn, SpawnError};
74 impl LocalSpawn for FuturesUnordered<LocalFutureObj<'_, ()>> {
/external/rust/crates/futures-executor/tests/
Dlocal_pool.rs4 use futures::task::{Context, Poll, Spawn, LocalSpawn, Waker};