Trait swap_buffer_queue::notify::Notify
source · 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.