tinymist_std::hash

Trait FingerprintHasher

Source
pub trait FingerprintHasher: Hasher {
    // Required method
    fn finish_fingerprint(self) -> (Fingerprint, Vec<u8>);
}
Expand description

A fingerprint hasher that extends the std::hash::Hasher trait.

Required Methods§

Source

fn finish_fingerprint(self) -> (Fingerprint, Vec<u8>)

Finish the fingerprint and return the fingerprint and the data. The data is used to resolve the conflict.

Implementors§