pub enum KeySlot<K> {
Key(K),
SeeNewTable,
}
The hash map is implemented as an array of key-value pairs, where each key and value can be one
of several states. This enum represents the various states that a key can be in, excluding the
null/empty state.
A key has been inserted into table. The key's associated value may or may not have been
removed. Once a key is in this state it can't go into any other state.
This was an empty slot that is now taken. There is a newer (resized) table that should be
used if this key slot was needed. Once a key is in this state it can't go into any other
state.
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static