pub trait NotificationWaiter {
// Required method
fn wait(&self);
}Expand description
Waits until a notification is observed.
This trait models a blocking, memoryless notification wait. A notification
sent before wait starts is not remembered for future waiters.