pub enum HashStrategy {
Identity,
Murmur3,
}Expand description
Hash strategy for key distribution.
Variants§
Identity
First 8 bytes of key as little-endian u64 (zero compute). Best for pre-hashed keys: SHA256 digests, ed25519 pubkeys.
Murmur3
MurmurHash3 64-bit finalizer. Use for keys with low-entropy prefixes (sequential IDs, etc.).
Trait Implementations§
Source§impl Clone for HashStrategy
impl Clone for HashStrategy
Source§fn clone(&self) -> HashStrategy
fn clone(&self) -> HashStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HashStrategy
impl Debug for HashStrategy
Source§impl Default for HashStrategy
impl Default for HashStrategy
Source§impl PartialEq for HashStrategy
impl PartialEq for HashStrategy
impl Copy for HashStrategy
impl Eq for HashStrategy
impl StructuralPartialEq for HashStrategy
Auto Trait Implementations§
impl Freeze for HashStrategy
impl RefUnwindSafe for HashStrategy
impl Send for HashStrategy
impl Sync for HashStrategy
impl Unpin for HashStrategy
impl UnsafeUnpin for HashStrategy
impl UnwindSafe for HashStrategy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more