Home
last modified time | relevance | path

Searched refs:raw_waker (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/tokio/src/runtime/task/
Dwaker.rs31 let waker = unsafe { ManuallyDrop::new(Waker::from_raw(raw_waker::<T, S>(header))) }; in waker_ref()
54 raw_waker::<T, S>(header) in clone_waker()
88 fn raw_waker<T, S>(header: *const Header) -> RawWaker in raw_waker() function
/external/rust/crates/async-trait/tests/executor/
Dmod.rs25 let raw_waker = RawWaker::new(data, vtable); in block_on_simple() localVariable
26 let waker = unsafe { Waker::from_raw(raw_waker) }; in block_on_simple()
/external/rust/crates/async-task/src/
Drunnable.rs340 let raw_waker = ((*header).vtable.clone_waker)(ptr); in waker() localVariable
341 Waker::from_raw(raw_waker) in waker()