pub type HashTableInsertOrFindResult<'a, K, P, B, H> = Result<(), (P, HashTableCursorMut<'a, K, P, B, H>)>;Expand description
The result of HashTable::insert_or_find.
Ok(()) if the element was inserted, or Err((ptr, cursor)) with the rejected pointer and a
cursor positioned at the colliding element otherwise.
Aliased Type§
pub enum HashTableInsertOrFindResult<'a, K, P, B, H> {
Ok(()),
Err((P, HashTableCursorMut<'a, K, P, B, H>)),
}Variants§
Ok(())
Contains the success value
Err((P, HashTableCursorMut<'a, K, P, B, H>))
Contains the error value