Enum pagecache::CacheEntry[][src]

pub enum CacheEntry<M: Send> {
    MergedResident(M, LsnLogID),
    Resident(M, LsnLogID),
    PartialFlush(LsnLogID),
    Flush(LsnLogID),
    Free(LsnLogID),
}

Points to either a memory location or a disk location to page-in data from.

Variants

A cache item that contains the most recent fully-merged page state, also in secondary storage.

A cache item that is in memory, and also in secondary storage.

A cache item that is present in secondary storage.

A cache item that is present in secondary storage, and is the base segment of a page.

A freed page tombstone.

Trait Implementations

impl<M: Debug + Send> Debug for CacheEntry<M>
[src]

Formats the value using the given formatter. Read more

impl<M: Clone + Send> Clone for CacheEntry<M>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<M: PartialEq + Send> PartialEq for CacheEntry<M>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl<M> Send for CacheEntry<M>

impl<M> Sync for CacheEntry<M> where
    M: Sync