A way of waking up a specific task.
Any task executor must provide a way of signaling that a task it owns
is ready to be
polled again. Executors do so by implementing this trait.
Note that, rather than working directly with
Wake trait objects, this
library instead uses a custom
Waker to allow for
customization of memory management.
Indicates that the associated task is ready to make progress and should
Executors generally maintain a queue of "ready" tasks;
wake should place
the associated task onto this queue.
Implementations should avoid panicking, but clients should also be prepared for panics.