Trait Notify

Source
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.