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

Handler code for when the items in a queue change.

Required Methods§

source

fn on_queue_changed(id: Id, fp: QueueFootprint)

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<Id> OnQueueChanged<Id> for ()

source§

fn on_queue_changed(_: Id, _: QueueFootprint)

Implementors§