Enum pagecache::DiskPtr [−][src]
pub enum DiskPtr { Inline(LogID), External(LogID, ExternalPointer), }
A pointer to a location on disk or an off-log blob.
Variants
Inline(LogID)
Points to a value stored in the single-file log.
External(LogID, ExternalPointer)
Points to a value stored off-log in the blob directory.
Trait Implementations
impl Debug for DiskPtr
[src]
impl Debug for DiskPtr
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 Clone for DiskPtr
[src]
impl Clone for DiskPtr
fn clone(&self) -> DiskPtr
[src]
fn clone(&self) -> DiskPtr
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 Copy for DiskPtr
[src]
impl Copy for DiskPtr
impl PartialEq for DiskPtr
[src]
impl PartialEq for DiskPtr
fn eq(&self, other: &DiskPtr) -> bool
[src]
fn eq(&self, other: &DiskPtr) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DiskPtr) -> bool
[src]
fn ne(&self, other: &DiskPtr) -> bool
This method tests for !=
.
impl Display for DiskPtr
[src]
impl Display for DiskPtr