Link

Type Alias Link 

Source
type Link<K> = Option<Weak<Mutex<LruNode<K>>>>;
Expand description

Weak pointer to a LruNode, used to connect nodes in the doubly-linked list. The strong reference is guaranteed to be stored in the data map of the LruQueue.

Aliased Type§

enum Link<K> {
    None,
    Some(Weak<Mutex<RawMutex, LruNode<K>>>),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(Weak<Mutex<RawMutex, LruNode<K>>>)

Some value of type T.