Enum pagecache::CacheEntry
[−]
[src]
pub enum CacheEntry<M: Send> { MergedResident(M, Lsn, LogID), Resident(M, Lsn, LogID), PartialFlush(Lsn, LogID), Flush(Lsn, LogID), Free(Lsn, LogID), }
Points to either a memory location or a disk location to page-in data from.
Variants
MergedResident(M, Lsn, LogID)
A cache item that contains the most recent fully-merged page state, also in secondary storage.
Resident(M, Lsn, LogID)
A cache item that is in memory, and also in secondary storage.
PartialFlush(Lsn, LogID)
A cache item that is present in secondary storage.
Flush(Lsn, LogID)
A cache item that is present in secondary storage, and is the base segment of a page.
Free(Lsn, LogID)
A freed page tombstone.
Trait Implementations
impl<M: Debug + Send> Debug for CacheEntry<M>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<M: Clone + Send> Clone for CacheEntry<M>
[src]
fn clone(&self) -> CacheEntry<M>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<M: PartialEq + Send> PartialEq for CacheEntry<M>
[src]
fn eq(&self, __arg_0: &CacheEntry<M>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CacheEntry<M>) -> bool
[src]
This method tests for !=
.
Auto Trait Implementations
impl<M> Send for CacheEntry<M>
impl<M> Sync for CacheEntry<M> where
M: Sync,
M: Sync,