concurrency_pair

Function concurrency_pair 

Source
pub unsafe fn concurrency_pair() -> (Waker, Waiter)
Expand description

… Safety: Waiter can’t be moved to another fiber.