pub trait PrefixIteratorOnRemoval {
// Required method
fn on_removal(key: &[u8], value: &[u8]);
}
Expand description
Trait for specialising on removal logic of PrefixIterator
.
Required Methods§
sourcefn on_removal(key: &[u8], value: &[u8])
fn on_removal(key: &[u8], value: &[u8])
This function is called whenever a key/value is removed.
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl PrefixIteratorOnRemoval for ()
impl PrefixIteratorOnRemoval for ()
No-op implementation.