Enum log4rs_routing_appender::route::Entry [] [src]

pub enum Entry<'a> {
    Occupied(OccupiedEntry<'a>),
    Vacant(VacantEntry<'a>),
}

A (possibly vacant) entry of a Cache.

Variants

An entry which is present in the Cache.

An entry which is not present in the Cache.

Methods

impl<'a> Entry<'a>
[src]

Returns the value of the entry, using the provided closure to create and insert it if the entry is not present in the cache.