Function futures_util::stream::futures_unordered::task::waker_ref::waker_ref
source · pub(crate) unsafe fn waker_ref<W>(wake: &Arc<W>) -> WakerRef<'_>where
W: ArcWake,
Expand description
Copy of future_task::waker_ref
without W: 'static
bound.
§Safety
The caller must guarantee that use-after-free will not occur.