Enum std::collections::hash_map::SearchResult [] [src]

enum SearchResult<K, V, M> {
    FoundExisting(FullBucket<K, V, M>),
    TableRef(M),
}

A result that works like Option> but preserves the reference that grants us access to the table in any case.

Variants

FoundExisting
TableRef

Methods

impl<K, V, M> SearchResult<K, V, M>

fn into_option(self) -> Option<FullBucket<K, V, M>>