Enum polystore::Entry[][src]

pub enum Entry<'a, K: 'a, V: 'static> {
    Occupied(OccupiedEntry<'a, K, V>),
    Vacant(VacantEntry<'a, K, V>),
}
Expand description

A view into a single entry in a map

Variants

Occupied(OccupiedEntry<'a, K, V>)
Vacant(VacantEntry<'a, K, V>)

Implementations

Ensure a value exists and return its reference

Ensure a value exists and return its reference

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.