BloomSetDelete

Trait BloomSetDelete 

Source
pub trait BloomSetDelete: BloomSet {
    // Required method
    fn decrement(&mut self, index: usize);
}
Expand description

A trait for types which can serve as the underlying storage for a BloomFilter and perform deletions.

Required Methods§

Source

fn decrement(&mut self, index: usize)

Decrements the counter with index index.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T> BloomSetDelete for Box<[T]>

Source§

fn decrement(&mut self, index: usize)

Implementors§