Home
last modified time | relevance | path

Searched refs:RawWakerVTable (Results 1 – 14 of 14) sorted by relevance

/external/rust/crates/futures-task/src/
Dnoop_waker.rs4 use core::task::{RawWaker, RawWakerVTable, Waker};
12 const NOOP_WAKER_VTABLE: RawWakerVTable = RawWakerVTable::new(noop_clone, noop, noop, noop);
Dwaker.rs3 use core::task::{Waker, RawWaker, RawWakerVTable};
6 pub(super) fn waker_vtable<W: ArcWake>() -> &'static RawWakerVTable { in waker_vtable() argument
7 &RawWakerVTable::new( in waker_vtable()
Dlib.rs54 pub use core::task::{Context, Poll, Waker, RawWaker, RawWakerVTable};
/external/crosvm/cros_async/src/
Dwaker.rs7 use std::task::{RawWaker, RawWakerVTable, Waker};
22 fn waker_vtable<W: WeakWake>() -> &'static RawWakerVTable { in waker_vtable() argument
23 &RawWakerVTable::new( in waker_vtable()
/external/rust/crates/tokio/src/util/
Dwake.rs5 use std::task::{RawWaker, RawWakerVTable, Waker};
43 fn waker_vtable<W: Wake>() -> &'static RawWakerVTable { in waker_vtable() argument
44 &RawWakerVTable::new( in waker_vtable()
/external/rust/crates/async-trait/tests/executor/
Dmod.rs4 use std::task::{Context, Poll, RawWaker, RawWakerVTable, Waker};
24 let vtable = &RawWakerVTable::new(clone, wake, wake_by_ref, drop); in block_on_simple()
/external/rust/crates/tokio/src/signal/unix/
Ddriver.rs14 use std::task::{Context, Poll, RawWaker, RawWakerVTable, Waker};
131 const NOOP_WAKER_VTABLE: RawWakerVTable = RawWakerVTable::new(noop_clone, noop, noop, noop);
/external/rust/crates/tokio-test/src/
Dtask.rs10 use std::task::{Context, Poll, RawWaker, RawWakerVTable, Waker};
219 static VTABLE: RawWakerVTable = RawWakerVTable::new(clone, wake, wake_by_ref, drop_waker);
/external/rust/crates/tokio/src/runtime/task/
Dwaker.rs9 use std::task::{RawWaker, RawWakerVTable, Waker};
94 let vtable = &RawWakerVTable::new( in raw_waker()
/external/rust/crates/futures-core/src/task/
Dmod.rs10 pub use core::task::{Context, Poll, Waker, RawWaker, RawWakerVTable};
/external/rust/crates/futures-util/src/task/
Dmod.rs14 pub use core::task::{Context, Poll, Waker, RawWaker, RawWakerVTable};
/external/rust/crates/tokio/src/park/
Dthread.rs221 use std::task::{RawWaker, RawWakerVTable, Waker};
318 &RawWakerVTable::new(clone, wake, wake_by_ref, drop_waker), in unparker_to_raw_waker()
/external/rust/crates/async-task/src/
Draw.rs8 use core::task::{Context, Poll, RawWaker, RawWakerVTable, Waker};
88 const RAW_WAKER_VTABLE: RawWakerVTable = RawWakerVTable::new(
/external/rust/crates/futures-util/src/compat/
Dcompat03as01.rs10 task::{RawWaker, RawWakerVTable},
203 let vtable = &RawWakerVTable::new(clone, wake, wake, drop); in as_waker()