pub type ElasticOccupiedError<'a, K, V, S = DefaultHashBuilder, A = Global> = OccupiedError<'a, K, V, ElasticTable<K, V, S, A>>;Expand description
Error returned by try_insert on key collision.
Aliased Type§
pub struct ElasticOccupiedError<'a, K, V, S = DefaultHashBuilder, A = Global> {
pub entry: OccupiedEntry<'a, K, V, ElasticTable<K, V, S, A>>,
pub value: V,
}Fields§
§entry: OccupiedEntry<'a, K, V, ElasticTable<K, V, S, A>>The entry whose key was already present.
value: VThe value that could not be inserted.