Home
last modified time | relevance | path

Searched refs:WakerRef (Results 1 – 11 of 11) sorted by relevance

/external/rust/crates/futures-task/src/
Dwaker_ref.rs14 pub struct WakerRef<'a> { struct
19 impl<'a> WakerRef<'a> { argument
45 impl Deref for WakerRef<'_> { implementation
58 pub fn waker_ref<W>(wake: &Arc<W>) -> WakerRef<'_> in waker_ref()
69 WakerRef::new_unowned(waker) in waker_ref()
Dlib.rs43 pub use crate::waker_ref::{waker_ref, WakerRef};
/external/rust/crates/tokio/src/util/
Dwake.rs18 pub(crate) struct WakerRef<'a> { struct
23 impl Deref for WakerRef<'_> { argument
32 pub(crate) fn waker_ref<W: Wake>(wake: &Arc<W>) -> WakerRef<'_> { in waker_ref()
37 WakerRef { in waker_ref()
Dmod.rs22 pub(crate) use wake::WakerRef;
/external/rust/crates/tokio/src/runtime/task/
Dwaker.rs11 pub(super) struct WakerRef<'a, S: 'static> { struct
18 pub(super) fn waker_ref<T, S>(header: &Header) -> WakerRef<'_, S> in waker_ref()
33 WakerRef { in waker_ref()
39 impl<S> ops::Deref for WakerRef<'_, S> { implementation
/external/rust/crates/tokio/src/sync/task/
Datomic_waker.rs172 W: WakerRef, in do_register() argument
300 trait WakerRef { trait
305 impl WakerRef for Waker {
315 impl WakerRef for &Waker { impl
/external/rust/crates/futures-util/src/stream/futures_unordered/
Dtask.rs6 use crate::task::{ArcWake, WakerRef, waker_ref};
73 pub(super) fn waker_ref(this: &Arc<Self>) -> WakerRef<'_> { in waker_ref()
/external/rust/crates/futures-util/src/task/
Dmod.rs33 pub use futures_task::{waker_ref, WakerRef};
/external/rust/crates/futures-util/src/compat/
Dcompat03as01.rs19 WakerRef,
181 fn as_waker(&self) -> WakerRef<'_> { in as_waker()
204 WakerRef::new_unowned(std::mem::ManuallyDrop::new(unsafe { in as_waker()
/external/rust/crates/tokio/src/runtime/
Dbasic_scheduler.rs8 use crate::util::{waker_ref, Wake, WakerRef};
396 fn waker_ref(&self) -> WakerRef<'_> { in waker_ref()
/external/rust/crates/futures/tests/
Dauto_traits.rs1825 assert_impl!(WakerRef<'_>: Send);
1826 assert_impl!(WakerRef<'_>: Sync);
1827 assert_impl!(WakerRef<'_>: Unpin);