pub trait Notify {
// Required methods
fn notify_dequeue(&self);
fn notify_enqueue(&self);
}
Expand description
Notifier for waiting Queue
operations.
Required Methods§
Sourcefn notify_dequeue(&self)
fn notify_dequeue(&self)
Wake waiting dequeue operation.
Sourcefn notify_enqueue(&self)
fn notify_enqueue(&self)
Wake waiting enqueue operation.
Implementations on Foreign Types§
Source§impl Notify for ()
impl Notify for ()
fn notify_dequeue(&self)
fn notify_enqueue(&self)
Implementors§
impl Notify for SynchronizedNotifier
Available on crate feature
std
only.