Home
last modified time | relevance | path

Searched refs:waker_vtable (Results 1 – 4 of 4) sorted by relevance

/external/crosvm/cros_async/src/
Dwaker.rs22 fn waker_vtable<W: WeakWake>() -> &'static RawWakerVTable { in waker_vtable() function
40 RawWaker::new(data, waker_vtable::<W>()) in clone_weak_raw()
65 waker_vtable::<W>(), in new_waker()
/external/rust/crates/futures-task/src/
Dwaker.rs6 pub(super) fn waker_vtable<W: ArcWake>() -> &'static RawWakerVTable { in waker_vtable() function
26 Waker::from_raw(RawWaker::new(ptr, waker_vtable::<W>())) in waker()
44 RawWaker::new(data, waker_vtable::<T>()) in clone_arc_raw()
Dwaker_ref.rs2 use super::waker::waker_vtable;
67 Waker::from_raw(RawWaker::new(ptr, waker_vtable::<W>())) in waker_ref()
/external/rust/crates/tokio/src/util/
Dwake.rs35 let waker = unsafe { Waker::from_raw(RawWaker::new(ptr, waker_vtable::<W>())) }; in waker_ref()
43 fn waker_vtable<W: Wake>() -> &'static RawWakerVTable { in waker_vtable() function
66 RawWaker::new(data, waker_vtable::<T>()) in clone_arc_raw()