[][src]Enum lockfreehashmap::map_inner::KeySlot

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.

Variants

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.

Trait Implementations

impl<K: Debug> Debug for KeySlot<K>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<K> Send for KeySlot<K> where
    K: Send

impl<K> Sync for KeySlot<K> where
    K: Sync

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 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)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 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)

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more