Skip to main content

Crate opthash

Crate opthash 

Source

Structs§

ElasticDrain
Draining iterator. Yields and removes every (K, V) entry; the map is empty once the iterator is consumed or dropped. Returned by ElasticHashMap::drain.
ElasticExtractIf
Filtering drain. Yields and removes entries for which the predicate returns true; the rest stay in the map. Returned by ElasticHashMap::extract_if.
ElasticHashMap
Open-addressed hash map using elastic hashing.
ElasticIntoIter
Consuming (K, V) iterator returned by ElasticHashMap::into_iter.
ElasticIter
Borrowing iterator over occupied entries. Walks levels in order, scanning each level’s slot array linearly. Skips FREE and TOMBSTONE control bytes.
ElasticIterMut
(&K, &mut V) iterator. Walks levels in storage order, skipping FREE and TOMBSTONE slots.
ElasticOccupiedEntry
View of an occupied entry in an ElasticHashMap.
ElasticOptions
Construction-time tuning for ElasticHashMap.
ElasticVacantEntry
View of a vacant entry in an ElasticHashMap.
ElasticValuesMut
&mut V iterator returned by ElasticHashMap::values_mut.
FunnelDrain
Draining iterator. Yields and removes every (K, V) entry; the map is empty once the iterator is consumed or dropped. Returned by FunnelHashMap::drain.
FunnelExtractIf
Filtering drain. Yields and removes entries for which the predicate returns true; the rest stay in the map. Returned by FunnelHashMap::extract_if.
FunnelHashMap
Open-addressed hash map using funnel hashing.
FunnelIntoIter
Owned (K, V) iterator returned by FunnelHashMap::into_iter.
FunnelIter
Borrowing iterator over occupied entries. Visits each region in funnel order: bucket levels → special primary → special fallback. Skips FREE and TOMBSTONE control bytes.
FunnelIterMut
(&K, &mut V) iterator. Visits bucket levels → special primary → special fallback. Skips FREE / TOMBSTONE.
FunnelOccupiedEntry
View of an occupied entry in a FunnelHashMap.
FunnelOptions
Construction-time tuning for FunnelHashMap.
FunnelVacantEntry
View of a vacant entry in a FunnelHashMap.
FunnelValuesMut
&mut V iterator returned by FunnelHashMap::values_mut.

Enums§

ElasticEntry
A view into a single entry in an ElasticHashMap, which may be either vacant or occupied. Constructed via ElasticHashMap::entry.
FunnelEntry
A view into a single entry in a FunnelHashMap, which may be either vacant or occupied. Constructed via FunnelHashMap::entry.
TryReserveError
Error returned by try_reserve when the map can’t grow.

Type Aliases§

DefaultHashBuilder
ElasticIntoKeys
Owned K iterator returned by ElasticHashMap::into_keys.
ElasticIntoValues
Owned V iterator returned by ElasticHashMap::into_values.
ElasticKeys
&K iterator returned by ElasticHashMap::keys.
ElasticOccupiedError
Error returned by ElasticHashMap::try_insert on key collision.
ElasticValues
&V iterator returned by ElasticHashMap::values.
FunnelIntoKeys
Owned K iterator returned by FunnelHashMap::into_keys.
FunnelIntoValues
Owned V iterator returned by FunnelHashMap::into_values.
FunnelKeys
&K iterator returned by FunnelHashMap::keys.
FunnelOccupiedError
Error returned by FunnelHashMap::try_insert on key collision.
FunnelValues
&V iterator returned by FunnelHashMap::values.