Skip to main content

ExportableBuildHasher

Trait ExportableBuildHasher 

Source
pub trait ExportableBuildHasher: Exportable + BuildHasher {
    const NAME: &str;
}
Expand description

A trait representing BuildHasher instances that can be exported (e.g. persisted into a file).

This trait is needed for [cuckoo_clock::CuckooFilter::export].

Required Associated Constants§

Source

const NAME: &str

Unique of this ExportableBuildHasher. This will be stored in the header of exported data.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl ExportableBuildHasher for ExportableRandomState

Source§

const NAME: &str = "cuckoo_clock::exporter::ExportableRandomState"