pub trait Unpark: Send + Sync {
// Required method
fn unpark(&self);
}👎Deprecated: recommended to use
Notify insteadExpand description
A trait which represents a sink of notifications that a future is ready to make progress.
This trait is provided as an argument to the Spawn::poll_future and
Spawn::poll_stream functions. It’s transitively used as part of the
Task::unpark method to internally deliver notifications of readiness of a
future to move forward.