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