[−][src]Function futures_util::task::local_waker_ref_from_nonlocal
pub fn local_waker_ref_from_nonlocal<W>(wake: &Arc<W>) -> LocalWakerRef where
W: Wake + 'static, Creates a reference to a LocalWaker
from a non-local wake.
This function is similar to local_waker_ref(), but does not require
that wake is local to the current thread. The resulting
LocalWaker will call
wake.wake() when awoken.