pub trait OnQueueChanged<Id> {
    // Required method
    fn on_queue_changed(id: Id, items_count: u64, items_size: u64);
}
Expand description

Handler code for when the items in a queue change.

Required Methods§

source

fn on_queue_changed(id: Id, items_count: u64, items_size: u64)

Note that the queue id now has item_count items in it, taking up items_size bytes.

Implementations on Foreign Types§

source§

impl<Id> OnQueueChanged<Id> for ()

source§

fn on_queue_changed(_: Id, _: u64, _: u64)

Implementors§