Enum lru_time_cache::TimedEntry[][src]

pub enum TimedEntry<'a, Key: 'a, Value: 'a> {
    Valid(&'a Key, &'a Value),
    Expired(Key, Value),
}
Expand description

Entry produced by NotifyIter that might be still valid or expired.

Variants

Valid(&'a Key, &'a Value)

Entry has not yet expired.

Expired(Key, Value)

Entry got expired and was evicted from the cache.

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.