pub trait Notify {
    // Required methods
    fn notify_dequeue(&self);
    fn notify_enqueue(&self);
}
Expand description

Notifier for waiting Queue operations.

Required Methods§

source

fn notify_dequeue(&self)

Wake waiting dequeue operation.

source

fn notify_enqueue(&self)

Wake waiting enqueue operation.

Implementations on Foreign Types§

source§

impl Notify for ()

Implementors§

source§

impl Notify for SynchronizedNotifier

Available on crate feature std only.