A way of waking up a specific task.
By implementing this trait, types that are expected to be wrapped in an
can be converted into
Those Wakers can be used to signal executors that a task it owns
is ready to be
Indicates that the associated task is ready to make progress and should
This function can be called from an arbitrary thread, including threads which
did not create the
Executors generally maintain a queue of "ready" tasks;
wake should place
the associated task onto this queue.
fn into_waker(self: Arc<Self>) -> Waker
Waker from an Arc
wake() is called on the returned
wake() function that is defined inside this trait will get called.