pub trait PrefixIteratorOnRemoval {
    // Required method
    fn on_removal(key: &[u8], value: &[u8]);
}
Expand description

Trait for specialising on removal logic of PrefixIterator.

Required Methods§

source

fn on_removal(key: &[u8], value: &[u8])

This function is called whenever a key/value is removed.

Implementations on Foreign Types§

source§

impl PrefixIteratorOnRemoval for ()

No-op implementation.

source§

fn on_removal(_key: &[u8], _value: &[u8])

Implementors§