Searched refs:WakerRef (Results 1 – 11 of 11) sorted by relevance
/external/rust/crates/futures-task/src/ |
D | waker_ref.rs | 14 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()
|
D | lib.rs | 43 pub use crate::waker_ref::{waker_ref, WakerRef};
|
/external/rust/crates/tokio/src/util/ |
D | wake.rs | 18 pub(crate) struct WakerRef<'a> { struct 23 impl Deref for WakerRef<'_> { implementation 32 pub(crate) fn waker_ref<W: Wake>(wake: &Arc<W>) -> WakerRef<'_> { in waker_ref() 37 WakerRef { in waker_ref()
|
D | mod.rs | 22 pub(crate) use wake::WakerRef;
|
/external/rust/crates/tokio/src/runtime/task/ |
D | waker.rs | 11 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/ |
D | atomic_waker.rs | 172 W: WakerRef, in do_register() argument 300 trait WakerRef { interface 305 impl WakerRef for Waker { 315 impl WakerRef for &Waker { impl
|
/external/rust/crates/futures-util/src/stream/futures_unordered/ |
D | task.rs | 6 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/ |
D | mod.rs | 33 pub use futures_task::{waker_ref, WakerRef};
|
/external/rust/crates/futures-util/src/compat/ |
D | compat03as01.rs | 19 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/ |
D | basic_scheduler.rs | 8 use crate::util::{waker_ref, Wake, WakerRef}; 396 fn waker_ref(&self) -> WakerRef<'_> { in waker_ref()
|
/external/rust/crates/futures/tests/ |
D | auto_traits.rs | 1825 assert_impl!(WakerRef<'_>: Send); 1826 assert_impl!(WakerRef<'_>: Sync); 1827 assert_impl!(WakerRef<'_>: Unpin);
|