Trait pallet_message_queue::OnQueueChanged
source · 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§
sourcefn on_queue_changed(id: Id, fp: QueueFootprint)
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.