Skip to main content

QueueNotifier

Trait QueueNotifier 

Source
pub trait QueueNotifier: Send + Sync {
    // Required method
    fn notify(&self) -> Result<(), Error>;
}
Expand description

A trait for types that can be used to submit available buffer notifications to a queue.

Required Methods§

Source

fn notify(&self) -> Result<(), Error>

Trigger an available buffer notification.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§